summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-30 16:08:51 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-30 16:08:51 +0000
commit17ed8bcddceaaf7010f2a5774150d4c627944546 (patch)
tree293334db65107823f67727bfd393b9cd2206c3f4 /lib
parent0a244af3747674e61f7ea3934813e6d84c83dce2 (diff)
downloaddrakiso-17ed8bcddceaaf7010f2a5774150d4c627944546.tar
drakiso-17ed8bcddceaaf7010f2a5774150d4c627944546.tar.gz
drakiso-17ed8bcddceaaf7010f2a5774150d4c627944546.tar.bz2
drakiso-17ed8bcddceaaf7010f2a5774150d4c627944546.tar.xz
drakiso-17ed8bcddceaaf7010f2a5774150d4c627944546.zip
stop plymouth when using initrd_debug
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Initrd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index dcd5361..5b0f5ed 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -202,7 +202,7 @@ sub create_initrd_scriptlet {
my $pre = $media->get_media_setting('pre');
my $fs = $media->get_media_setting('fs');
my $rrpt_dev = $media->get_media_setting('rereadpt');
- my $debug_shell = "sh -c 'if grep -q initrd_debug /proc/cmdline; then exec sh </dev/console >/dev/console 2>/dev/console; fi'";
+ my $debug_shell = "sh -c 'if grep -q initrd_debug /proc/cmdline; then plymouth --quit; exec sh </dev/console >/dev/console 2>/dev/console; fi'";
my ($mount_first, $mount_last) = partition { !$loop_types{$_->{type}}{delay_mount} }
grep { exists $loop_types{$_->{type}}{mount} } @{$live->{mount}{dirs} || []};
my $initrdroot = "/initrd";