d8f0ec7a46
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. A default configuration file is provided. It assumes busybox init. ideally, a different default should be used in case of systemd init, but that's left for future work. Signed-off-by: Thierry Bultel <thierry.bultel@linatsea.fr> [arnout@mind.be: many changes] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [yann.morin.1998@free.fr: some additional fixups] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
93 lines
1.2 KiB
Plaintext
93 lines
1.2 KiB
Plaintext
#Simple dracut config for a system without systemd
|
|
|
|
#Dracut configuration
|
|
|
|
show_modules=yes
|
|
i18n_install_all=no
|
|
lvmconf=no
|
|
mdadmconf=no
|
|
early_microcode=no
|
|
hostonly=no
|
|
hostonly_cmdline=no
|
|
use_fstab=no
|
|
kernel_cmdline="rd.break=initqueue"
|
|
do_strip=no
|
|
|
|
# Dracut modules needed
|
|
add_dracutmodules+=" \
|
|
busybox-init
|
|
"
|
|
|
|
# Modules to ignore
|
|
omit_dracutmodules+=" \
|
|
bash \
|
|
biosdevname \
|
|
btrfs \
|
|
bluetooth \
|
|
busybox \
|
|
caps \
|
|
cifs \
|
|
crypt \
|
|
crypt-gpg \
|
|
dash \
|
|
dbus-broker \
|
|
dbus-daemon \
|
|
dm \
|
|
dmraid \
|
|
dmsquash-live-ntfs \
|
|
dracut-systemd \
|
|
fcoe \
|
|
fcoe-uefi \
|
|
fs-lib \
|
|
iscsi \
|
|
i18n \
|
|
lvmmerge \
|
|
lvm \
|
|
lunmask \
|
|
mdraid \
|
|
memstrack \
|
|
mksh \
|
|
modsign \
|
|
mount-root \
|
|
multipath \
|
|
nbd \
|
|
network-legacy \
|
|
network-wicked \
|
|
nfs \
|
|
nvdimm \
|
|
nvmf \
|
|
parse-lunmask \
|
|
qemu \
|
|
qemu-net \
|
|
resume \
|
|
rootfs-block \
|
|
rngd \
|
|
systemd \
|
|
systemd-udevd \
|
|
systemd-coredump \
|
|
systemd-ask-password \
|
|
systemd-timedated \
|
|
systemd-rfkill \
|
|
systemd-resolved \
|
|
systemd-hostnamed \
|
|
systemd-initrd \
|
|
systemd-journald \
|
|
systemd-ldconfig \
|
|
systemd-networkd \
|
|
systemd-timesyncd \
|
|
systemd-veritysetup \
|
|
systemd-modules-load \
|
|
systemd-sysctl \
|
|
systemd-repart \
|
|
systemd-sysext \
|
|
systemd-sysusers \
|
|
systemd-tmpfiles \
|
|
squash \
|
|
ssh-client \
|
|
stratis \
|
|
tpm2-tss \
|
|
udev-rules \
|
|
url-lib \
|
|
usrmount \
|
|
"
|