summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive7
1 files changed, 7 insertions, 0 deletions
diff --git a/draklive b/draklive
index d23bcac..180bba6 100755
--- a/draklive
+++ b/draklive
@@ -313,6 +313,13 @@ sub post_install_system {
#- (don't use addVarsInSh from MDK::Common, it breaks shell escapes)
substInFile { s/^PROMPT=.*/PROMPT=no/ } $live->get_system_root . '/etc/sysconfig/init';
+ if (need_media_specific_boot($live)) {
+ output_with_perm($live->get_system_root . '/etc/dracut.conf.d/60-live.conf', 0644, <<EOF);
+# it is a live, build initrd to boot any hardware
+hostonly="no"
+EOF
+ }
+
configure_draklive_resize($live);
if ($live->{system}{preselect_kdm_user}) {