aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordancer <dancer>2006-01-29 21:19:19 +0000
committerdancer <dancer>2006-01-29 21:19:19 +0000
commit76e62017424d96e448a9b183d4f1319fe28d53b5 (patch)
treeec50717b7b126fe5d8964a3c64f767cc39a7a870 /examples
parent84d60e5f044216b7c001a1c658ec2eeac594ddf6 (diff)
downloadpbuilder-76e62017424d96e448a9b183d4f1319fe28d53b5.tar
pbuilder-76e62017424d96e448a9b183d4f1319fe28d53b5.tar.gz
implement hookdir for workaround of initscripts and cdebootstrap bug.
add G hooks for pbuilder create.
Diffstat (limited to 'examples')
-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;