From d9d2341cff883b59a62cfe21aeb2873a9dcaf5ad Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Sun, 21 Jul 2013 15:46:09 -0700 Subject: [PATCH] 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. --- ...otengine-0.0.1-r8.ebuild => bootengine-0.0.1-r9.ebuild} | 0 .../sys-kernel/bootengine/bootengine-0.0.1.ebuild | 7 +++---- 2 files changed, 3 insertions(+), 4 deletions(-) rename sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/{bootengine-0.0.1-r8.ebuild => bootengine-0.0.1-r9.ebuild} (100%) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1-r8.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1-r9.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1-r8.ebuild rename to sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1-r9.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1.ebuild index 9eb62d7a6e..ed5c903e0f 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.1.ebuild @@ -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