lorax-templates-qubes: make initrd for EFI smaller
Skip system-wide dracut config, specifically /etc/dracut.conf.d/plymouth-missing-fonts.conf, which loads 'label' plymouth plugin, which in turn pulls a lot of libraries (including libX11). QubesOS/qubes-issues#2412
This commit is contained in:
parent
6fcd77bf99
commit
f9bb3b2f33
@ -50,7 +50,9 @@ install boot/efi/EFI/*/fonts/unicode.pf2 ${EFIBOOTDIR}/fonts/
|
|||||||
copy ${KERNELDIR}/vmlinuz ${EFIBOOTDIR}
|
copy ${KERNELDIR}/vmlinuz ${EFIBOOTDIR}
|
||||||
runcmd chroot ${inroot} mkdir -p /boot/efi/EFI/qubes
|
runcmd chroot ${inroot} mkdir -p /boot/efi/EFI/qubes
|
||||||
runcmd chroot ${inroot} touch /proc/modules
|
runcmd chroot ${inroot} touch /proc/modules
|
||||||
runcmd chroot ${inroot} dracut --nomdadmconf --nolvmconf --nofscks --no-early-microcode --no-hostonly --xz --install '/.buildstamp' \
|
runcmd chroot ${inroot} dracut --conf /dev/null --confdir /var/empty \
|
||||||
|
--nomdadmconf --nolvmconf --nofscks --no-early-microcode \
|
||||||
|
--no-hostonly --xz --install '/.buildstamp' \
|
||||||
--add 'anaconda pollcdrom dmsquash-live' \
|
--add 'anaconda pollcdrom dmsquash-live' \
|
||||||
--omit="${extra_dracut_modules}" --omit-drivers="${scsi_modules}" --omit-drivers="${extra_modules}" \
|
--omit="${extra_dracut_modules}" --omit-drivers="${scsi_modules}" --omit-drivers="${extra_modules}" \
|
||||||
/boot/efi/EFI/qubes/initrd-small.img ${kver}
|
/boot/efi/EFI/qubes/initrd-small.img ${kver}
|
||||||
|
Loading…
Reference in New Issue
Block a user