[libvirt] [libvirt-sandbox PATCH] mkinitrd: Add missing fscrypto module

Guido Günther posted 1 patch 6 years, 10 months ago
Failed in applying to current master (apply log)
libvirt-sandbox/libvirt-sandbox-builder-machine.c | 1 +
1 file changed, 1 insertion(+)
[libvirt] [libvirt-sandbox PATCH] mkinitrd: Add missing fscrypto module
Posted by Guido Günther 6 years, 10 months ago
---
 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");
-- 
2.11.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [libvirt-sandbox PATCH] mkinitrd: Add missing fscrypto module
Posted by Cedric Bosdonnat 6 years, 10 months ago
On Sat, 2017-05-27 at 13:04 +0200, Guido Günther wrote:
> ---
>  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");

ACK

--
Cedric

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [libvirt-sandbox PATCH] mkinitrd: Add missing fscrypto module
Posted by Guido Günther 6 years, 10 months ago
On Mon, May 29, 2017 at 11:42:09AM +0200, Cedric Bosdonnat wrote:
> On Sat, 2017-05-27 at 13:04 +0200, Guido Günther wrote:
> > ---
> >  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");
> 
> ACK

Pushed. Thanks
 -- Guido

> 
> --
> Cedric
> 

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list