mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
fix(bootengine): don't use host-only on dracut
host-only means that we don't include all of the modules that the kernel provides. Only the ones that are needed for this machine. This won't work since we rely on all of the modules since we don't have the bootkernel anymore.
This commit is contained in:
parent
d97258917e
commit
d9d2341cff
@ -35,10 +35,9 @@ pkg_postinst() {
|
||||
mount --rbind /sys ${ROOT}/sys
|
||||
mount --rbind /run ${ROOT}/run
|
||||
|
||||
# --host-only "should" mean that we only include the stuff that this build
|
||||
# root needs. The keyboard tables are all still being included, which we
|
||||
# need to figure out how to remove someday.
|
||||
chroot ${ROOT} dracut --host-only --force --no-kernel --fstab --no-compress /tmp/bootengine.cpio
|
||||
# The keyboard tables are all still being included, which we need to
|
||||
# figure out how to remove someday.
|
||||
chroot ${ROOT} dracut --force --no-kernel --fstab --no-compress /tmp/bootengine.cpio
|
||||
|
||||
umount --recursive ${ROOT}/proc
|
||||
umount --recursive ${ROOT}/dev
|
||||
|
Loading…
Reference in New Issue
Block a user