From d01bed6d34476e8b0357a0743c9b06e0c4107b08 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Fri, 11 May 2012 16:10:23 +0000 Subject: move /etc/dracut.conf.d/60-live.conf from draklive to images-config --- config/live.cfg | 2 ++ files/live-dracut.conf | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 files/live-dracut.conf diff --git a/config/live.cfg b/config/live.cfg index ea8dc05..e9d84c3 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -48,6 +48,8 @@ my $_l = { [ 'files/halt.local.CD', '/sbin/halt.local', { mode => 0755, no_install => 1 } ], #- do not load usblp and trigger autosetupprintqueues in live since cups is not available [ 'files/live.modprobe.CD', '/etc/modprobe.d/live.conf', { mode => 0644, no_install => 1 } ], + # livecd specific initrd + [ 'files/live-dracut.conf', '/etc/dracut.conf.d/60-live.conf', { mode => 0644, no_install => 1 } ], ), #- disable first boot wizard at live boot [ 'files/firstboot', '/etc/sysconfig/firstboot', { mode => 0644 } ], diff --git a/files/live-dracut.conf b/files/live-dracut.conf new file mode 100644 index 0000000..c4de2a4 --- /dev/null +++ b/files/live-dracut.conf @@ -0,0 +1,9 @@ +# it is a live, build initrd to boot any hardware +hostonly="no" +# load mga livecd support +add_dracutmodules+=" mgalive " +# dont add theese in initrd as they prevent display_driver_helper to work" +omit_drivers+=" radeon nouveau " +# compress initrd with xz +compress_l="xz" +[root@localhost ~]# -- cgit v1.2.1