Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-05-17 19:17:29 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-05-17 19:17:29 (GMT)
commitbb665059066ff32c41a967a9cbbbeb1e6c6b7f81 (patch)
tree37f0f6777eae35fda8ae467a431e4842eae9cc92
parent18dca5f13577c4c87507894ecf160d19a8d37cf7 (diff)
base: Remove plymouth boot-duration file (#11862)
This file gets shipped in the RPM install and changes every boot. We need to avoid such behaviour to maintain a pristine filesystem. Remove the file from the base distribution.
-rw-r--r--modules/base/kspost.10.core.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index 7489a77..34814f8 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -226,6 +226,9 @@ sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-comman
sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line=rhgb/g' /lib/systemd/system/plymouth-halt.service
sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line=rhgb/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
+
# call olpc-logrotate when log file hits 1mb (#10075)
sed -i -e 's,/var/log/messages,:omfile:$messages,' \
-e '/$messages/ i$outchannel messages,/var/log/messages,1048576,/usr/sbin/olpc-logrotate' \