mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
fix(sys-kernel/bootengine): no fscks!
we don't want to have fscks in dracut for two reasons: 1) Root is readonly on coreos 2) it bloats and slows down the boot
This commit is contained in:
parent
fd05808414
commit
148b7d6ca1
@ -37,7 +37,7 @@ pkg_postinst() {
|
||||
|
||||
# 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
|
||||
chroot ${ROOT} dracut --force --no-kernel --nofscks --fstab --no-compress /tmp/bootengine.cpio
|
||||
|
||||
umount --recursive ${ROOT}/proc
|
||||
umount --recursive ${ROOT}/dev
|
||||
|
||||
@ -37,7 +37,7 @@ pkg_postinst() {
|
||||
# --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
|
||||
chroot ${ROOT} dracut --force --no-kernel --nofscks --fstab --no-compress /tmp/bootengine.cpio
|
||||
|
||||
umount --recursive ${ROOT}/proc
|
||||
umount --recursive ${ROOT}/dev
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user