summaryrefslogtreecommitdiff
path: root/examples/hooks/unionfs.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:17 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit0d0de885e32ff67d57bb7def451b62d75b8920ab (patch)
treecd4a159a86207401dbd5990bc0fa3c28825ab6f8 /examples/hooks/unionfs.sh
parentc68c0a270832ca340429878ce6a0ab606d435b06 (diff)
downloadlive-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.zip
live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.tar.gz
Adding live-helper 1.0~a22-1.
Diffstat (limited to 'examples/hooks/unionfs.sh')
-rwxr-xr-xexamples/hooks/unionfs.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/hooks/unionfs.sh b/examples/hooks/unionfs.sh
new file mode 100755
index 0000000..bbf210a
--- /dev/null
+++ b/examples/hooks/unionfs.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# This is a hook for live-helper(7) to install unionfs drivers
+# To enable it, copy this hook into your config/chroot_local-hooks directory.
+#
+# Note: You only want to use this hook if there is no prebuild unionfs-modules-*
+# package available for your kernel flavour.
+
+# Building kernel module
+which module-assistant || apt-get install --yes module-assistant
+module-assistant update
+module-assistant --non-inter --quiet auto-install unionfs
+module-assistant clean unionfs