aboutsummaryrefslogtreecommitdiff
path: root/examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh')
-rw-r--r--examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh b/examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh
new file mode 100644
index 0000000..e4749c0
--- /dev/null
+++ b/examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+# work around initscripts postinst which mounts /sys with cdebootstrap.
+# Bug: #350262
+
+set +e
+
+umount /sys
+umount /run
+umount /proc/bus/usb
+umount /dev/shm
+
+exit 0;