kumquat-buildroot/fs/cpio
Yann E. MORIN 4fd5d80e9d fs/cpio: accept a list of dracut.conf files
It is not unusual that projects can target multiple boards, and in
such cases, a lot is shared between boards and only the low-level
stuff differ.

Allow users to specify more than one dracut config file to cover
tose cases.

dracut does not accept more than one config file with the -c option,
but it can load more than one from a directory with --confdir. So,
we copy all the config files to a temporary directory and se that as
--confdir. However, we can't drop passing -c, or dracut would read
the system-wide /etc/dracut.conf (not sure if ${prefix} is even used),
which we do not want. So, we use an empty file as -c; /dev/null comes
in handy as an empty file.

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: Arnout Vandecappelle <arnout@mind.be>
2022-09-17 22:13:22 +02:00
..
Config.in fs/cpio: accept a list of dracut.conf files 2022-09-17 22:13:22 +02:00
cpio.mk fs/cpio: accept a list of dracut.conf files 2022-09-17 22:13:22 +02:00
dracut.conf fs/cpio: new option to use dracut tool 2022-08-18 22:49:39 +02:00
init fs/cpio/init: unbreak ttyname_r() on glibc after dropping /dev/console exec 2020-08-29 16:32:33 +02:00