From 5c3843d094390f1cb1f8a1ce2b36d22297b854e2 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Tue, 04 Sep 2012 17:55:16 +0000 Subject: base: fix quoting of plymouthd arguments (#12042) We got bitten by some strange systemd behaviour with quoting. http://lists.freedesktop.org/archives/systemd-devel/2012-September/006447.html --- diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc index edb040f..6a26c7a 100644 --- a/modules/base/kspost.10.core.inc +++ b/modules/base/kspost.10.core.inc @@ -222,9 +222,9 @@ ln -s /dev/null /etc/systemd/system/plymouth-start.service # apply some special settings in the other plymouth service files until # we have a better solution. # https://bugs.freedesktop.org/show_bug.cgi?id=22239 -sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line="rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-poweroff.service -sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line="rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-halt.service -sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line="rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-reboot.service +sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown "--kernel-command-line=rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-poweroff.service +sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown "--kernel-command-line=rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-halt.service +sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown "--kernel-command-line=rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-reboot.service # remove the boot-duration file since it gets changed during boot (#11862) rm -f /var/lib/plymouth/boot-duration -- cgit v0.9.1