mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
fs/cpio: allow users to provide their own dracut modules
Dracut modules can only be looked for in HOST_DIR/lib/dracut/modules.d/ as dracut does not offer the possibility to look elsewhere. Installing files in HOST_DIR/ can do done either from a host-package, or via a post-built script; there is no overlay like there is for target/. This is a bit cumbersome. Additional modules are most probably developped in a relatively tight loop with the configuration files, so it makes sense to expose both close together. Add an option to the fs/cpio filesystem, so users can point to a list of modules to install. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Thierry Bultel <thierry.bultel@linatsea.fr> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
488a87514e
commit
eb6e466c10
@@ -29,6 +29,11 @@ endchoice
|
||||
|
||||
if BR2_TARGET_ROOTFS_CPIO_DRACUT
|
||||
|
||||
config BR2_TARGET_ROOTFS_CPIO_DRACUT_MODULES
|
||||
string "extra dracut modules"
|
||||
help
|
||||
Space-separated list of directories containing dracut modules.
|
||||
|
||||
config BR2_TARGET_ROOTFS_CPIO_DRACUT_CONF_FILES
|
||||
string "dracut configuration files"
|
||||
default "fs/cpio/dracut.conf"
|
||||
|
||||
Reference in New Issue
Block a user