summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/live.cfg2
-rw-r--r--files/live-dracut.conf9
2 files changed, 11 insertions, 0 deletions
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 ~]#