[Buildroot] [PATCH v2 3/3] fs/cpio: new option to use dracut tool

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Dec 19 10:13:36 UTC 2021


Hello Thierry,

On Sun, 19 Dec 2021 08:31:19 +0100
Thierry Bultel <thierry.bultel at linatsea.fr> wrote:

> Adds an option to invoke the dracut host tool, providing
> a configuration file, instead of having a full cpio archive
> of the whole target directory.
> 
> Signed-off-by: Thierry Bultel <thierry.bultel at linatsea.fr>
> Changes v1 -> v2 (suggested by Arnoult and Yann)
>   - was a new fs type, now an option of cpio
>   - deals with the case of a build with no kernel
>   - gets the kernel name in a smarter way
>   - checks for the name of dracut configuration file
> 
> Signed-off-by: Thierry Bultel <thierry.bultel at linatsea.fr>

Thanks for working on this! What would be nice is to add a test case in
support/testing/ for this. We already have lots of tests for various
filesystem types in support/testing/tests/fs.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list