File: mkinitrd-Add-missing-fscrypto-module.patch

package info (click to toggle)
libvirt-sandbox 0.5.1%2Bgit20160404-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,104 kB
  • ctags: 1,964
  • sloc: ansic: 12,696; python: 2,110; makefile: 447; sh: 302; xml: 151; perl: 110
file content (20 lines) | stat: -rw-r--r-- 950 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sat, 27 May 2017 12:57:22 +0200
Subject: mkinitrd: Add missing fscrypto module

---
 libvirt-sandbox/libvirt-sandbox-builder-machine.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libvirt-sandbox/libvirt-sandbox-builder-machine.c b/libvirt-sandbox/libvirt-sandbox-builder-machine.c
index bdec490..7204f71 100644
--- a/libvirt-sandbox/libvirt-sandbox-builder-machine.c
+++ b/libvirt-sandbox/libvirt-sandbox-builder-machine.c
@@ -186,6 +186,7 @@ static gchar *gvir_sandbox_builder_machine_mkinitrd(GVirSandboxConfig *config,
 
     /* In case ext4 is built as a module, include it and its deps
      * for the root mount */
+    gvir_sandbox_config_initrd_add_module(initrd, "fscrypto.ko");
     gvir_sandbox_config_initrd_add_module(initrd, "mbcache.ko");
     gvir_sandbox_config_initrd_add_module(initrd, "jbd2.ko");
     gvir_sandbox_config_initrd_add_module(initrd, "crc16.ko");