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:
Brandon Philips 2013-07-21 15:46:09 -07:00
parent d97258917e
commit d9d2341cff
2 changed files with 3 additions and 4 deletions

View File

@ -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