summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-11-02 10:11:01 +0000
committerColin Guthrie <colin@mageia.org>2013-11-02 11:47:48 +0000
commitbbbb6c5bf26b764dfff8a83c2cc0ed3769bfdd74 (patch)
tree50b4e83825d921915c5c2f320598428bf4c11cbb /images/make_boot_img
parent284ba5ab6fc742dd3f7a5a4705207f9b2d4de5be (diff)
downloaddrakx-bbbb6c5bf26b764dfff8a83c2cc0ed3769bfdd74.tar
drakx-bbbb6c5bf26b764dfff8a83c2cc0ed3769bfdd74.tar.gz
drakx-bbbb6c5bf26b764dfff8a83c2cc0ed3769bfdd74.tar.bz2
drakx-bbbb6c5bf26b764dfff8a83c2cc0ed3769bfdd74.tar.xz
drakx-bbbb6c5bf26b764dfff8a83c2cc0ed3769bfdd74.zip
images: Split dracut options out into a config file.
Also ensure that the compression method is xz -9 for much better compression (was previously defaulting to gzip)
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img3
1 files changed, 1 insertions, 2 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 2be5bbde5..b0e3eec70 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -161,9 +161,8 @@ sub initrd {
$modules="$modules mgakadeploy " if ($ENV{BUILD_KA});
mkdir_p("build/dracut.conf.d");
- touch("build/dracut.conf");
# TODO if --nofscks and --no-hostonly are switched, dracut gives an error - fix or report upstream
- __ "DRAKX_STAGE1_BINARY=$stage1_binary DRAKX_INIT_BINARY=$init_binary dracut --conf ./build/dracut.conf --confdir ./build/dracut.conf.d --nofscks --no-hostonly --add ' $modules ' --omit ' dash modsign systemd plymouth btrfs crypt lvm cifs resume rootfs-block biosdevname shutdown ' --add-drivers ' $drivers ' '$img' '$kernel'"
+ __ "DRAKX_STAGE1_BINARY=$stage1_binary DRAKX_INIT_BINARY=$init_binary dracut --conf dracut.conf --confdir ./build/dracut.conf.d --add ' $modules ' --add-drivers ' $drivers ' '$img' '$kernel'"
}