aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordancer <dancer>2006-09-03 09:13:18 +0000
committerdancer <dancer>2006-09-03 09:13:18 +0000
commita8a81b3b31b776f87605cd10ca1f8831049fe264 (patch)
treec317b423f13be09c6528383c2292bb4c72026efe /examples
parentec9e4b0205af255224a45562fe9fdc3ec5a86684 (diff)
downloadpbuilder-a8a81b3b31b776f87605cd10ca1f8831049fe264.tar
pbuilder-a8a81b3b31b776f87605cd10ca1f8831049fe264.tar.gz
add notes in comment that examples are for --hookdir.
Diffstat (limited to 'examples')
-rw-r--r--examples/B90linda2
-rw-r--r--examples/B90list-missing2
-rw-r--r--examples/B91debc2
-rw-r--r--examples/B91dpkg-i2
-rw-r--r--examples/B92test-pkg2
-rw-r--r--examples/C10shell2
-rw-r--r--examples/D10tmp2
-rw-r--r--examples/D15start-stop-daemon2
-rw-r--r--examples/D90chrootmemo2
-rw-r--r--examples/E50-initscripts-2.86.ds1-7.workaround.sh2
-rw-r--r--examples/E50-libc2.3.2.ds1-11-workaround2
-rw-r--r--examples/F90chrootmemo2
-rw-r--r--examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh2
13 files changed, 26 insertions, 0 deletions
diff --git a/examples/B90linda b/examples/B90linda
index 128d8f7..47f8fd5 100644
--- a/examples/B90linda
+++ b/examples/B90linda
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
# run linda on generated deb files
apt-get install -y --force-yes linda
linda /tmp/buildd/*.deb
diff --git a/examples/B90list-missing b/examples/B90list-missing
index fff7587..324cd7f 100644
--- a/examples/B90list-missing
+++ b/examples/B90list-missing
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
# 343894: script from q-funk.
# Depends on CDBS module in debian/rules:
diff --git a/examples/B91debc b/examples/B91debc
index b695f8a..b52620f 100644
--- a/examples/B91debc
+++ b/examples/B91debc
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
# 343894: a script to run debc command, contributed from q-funk.
apt-get install -y --force-yes devscripts
diff --git a/examples/B91dpkg-i b/examples/B91dpkg-i
index ab7ebd7..ee031bb 100644
--- a/examples/B91dpkg-i
+++ b/examples/B91dpkg-i
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
# try to install the resulting debs.
echo "Trying to install resulting packages and test upgrades"
diff --git a/examples/B92test-pkg b/examples/B92test-pkg
index 40f25a4..926d46a 100644
--- a/examples/B92test-pkg
+++ b/examples/B92test-pkg
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
# run tests
# 2005 Junichi Uekawa
set -e
diff --git a/examples/C10shell b/examples/C10shell
index c1c4655..f5ffb2b 100644
--- a/examples/C10shell
+++ b/examples/C10shell
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
# invoke shell if build fails.
/bin/bash </dev/tty > /dev/tty
diff --git a/examples/D10tmp b/examples/D10tmp
index e31faa7..6674ac8 100644
--- a/examples/D10tmp
+++ b/examples/D10tmp
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
#create $TMP and $TMPDIR
[ -n "$TMP" -a ! -d "$TMP" ] && mkdir -p "$TMP" || true
[ -n "$TMPDIR" -a ! -d "$TMPDIR" ] && mkdir -p "$TMPDIR" || true
diff --git a/examples/D15start-stop-daemon b/examples/D15start-stop-daemon
index 498bf68..3109f27 100644
--- a/examples/D15start-stop-daemon
+++ b/examples/D15start-stop-daemon
@@ -1,4 +1,6 @@
#!/bin/bash
+# example file to be used with --hookdir
+#
# create a fake start-stop-daemon
ln -sf /bin/true /sbin/start-stop-daemon
diff --git a/examples/D90chrootmemo b/examples/D90chrootmemo
index d7f1d9d..dddd1e3 100644
--- a/examples/D90chrootmemo
+++ b/examples/D90chrootmemo
@@ -1,4 +1,6 @@
#!/bin/sh
+# example file to be used with --hookdir
+#
# an example to make a note that this is a chroot in /
# suggested by Turbo Fredriksson
diff --git a/examples/E50-initscripts-2.86.ds1-7.workaround.sh b/examples/E50-initscripts-2.86.ds1-7.workaround.sh
index 195ecf3..c1bca7a 100644
--- a/examples/E50-initscripts-2.86.ds1-7.workaround.sh
+++ b/examples/E50-initscripts-2.86.ds1-7.workaround.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# example file to be used with --hookdir
+#
# work around initscripts postinst which mounts /sys etc.
# Bug: #344089
diff --git a/examples/E50-libc2.3.2.ds1-11-workaround b/examples/E50-libc2.3.2.ds1-11-workaround
index ff4d9f8..4e4c6e9 100644
--- a/examples/E50-libc2.3.2.ds1-11-workaround
+++ b/examples/E50-libc2.3.2.ds1-11-workaround
@@ -1,4 +1,6 @@
#!/bin/sh
+# example file to be used with --hookdir
+#
# work around libc6 postinst which mounts /sys etc.
# Bug#230008
diff --git a/examples/F90chrootmemo b/examples/F90chrootmemo
index 2e8b2a2..de205a7 100644
--- a/examples/F90chrootmemo
+++ b/examples/F90chrootmemo
@@ -1,4 +1,6 @@
#!/bin/sh
+# example file to be used with --hookdir
+#
# an example to make a note that this is a chroot in /
# suggested by Turbo Fredriksson
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
index 0a6ecfb..e2e4b94 100644
--- a/examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh
+++ b/examples/G50-initscripts-2.86.ds1-11-cdebootstrap0.3.9.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# example file to be used with --hookdir
+#
# work around initscripts postinst which mounts /sys with cdebootstrap.
# Bug: #350262