summaryrefslogtreecommitdiffstats
path: root/d-i-preseed-cfgs/plymouthbug-kludge.sh
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-11-27 00:29:45 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-27 00:42:53 +0100
commiteae09a37efa2f2aef67ce55684a116965cf17312 (patch)
treebfa4c05ec15001a80a4f9bfd456727d59ae32491 /d-i-preseed-cfgs/plymouthbug-kludge.sh
parent68fcb0e60993b3f086fa49c34096f9c53e378133 (diff)
downloadjenkins.debian.net-eae09a37efa2f2aef67ce55684a116965cf17312.tar.xz
debian-edu: kludge around the plymouth problem in d-i (revert in ~3 days)
Diffstat (limited to 'd-i-preseed-cfgs/plymouthbug-kludge.sh')
-rw-r--r--d-i-preseed-cfgs/plymouthbug-kludge.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/d-i-preseed-cfgs/plymouthbug-kludge.sh b/d-i-preseed-cfgs/plymouthbug-kludge.sh
new file mode 100644
index 00000000..b831e082
--- /dev/null
+++ b/d-i-preseed-cfgs/plymouthbug-kludge.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+for f in /target/etc/plymouth/plymouthd.conf /target/opt/ltsp/i386/etc/plymouth/plymouthd.conf ; do
+ # this is a joyous race condition
+ while [ ! -e $f ] ; do
+ sleep 1
+ done
+
+ rm -f $f
+done