From 0d0de885e32ff67d57bb7def451b62d75b8920ab Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:17 +0200 Subject: Adding live-helper 1.0~a22-1. --- examples/hooks/aufs.sh | 13 +++++++++++++ examples/hooks/squashfs.sh | 13 +++++++++++++ examples/hooks/unionfs.sh | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100755 examples/hooks/aufs.sh create mode 100755 examples/hooks/squashfs.sh create mode 100755 examples/hooks/unionfs.sh (limited to 'examples/hooks') diff --git a/examples/hooks/aufs.sh b/examples/hooks/aufs.sh new file mode 100755 index 000000000..ca637af1a --- /dev/null +++ b/examples/hooks/aufs.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# This is a hook for live-helper(7) to install aufs 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 aufs-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 aufs +module-assistant clean aufs diff --git a/examples/hooks/squashfs.sh b/examples/hooks/squashfs.sh new file mode 100755 index 000000000..5be16e6f1 --- /dev/null +++ b/examples/hooks/squashfs.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# This is a hook for live-helper(7) to install squashfs 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 +# squashfs-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 squashfs +module-assistant clean squashfs diff --git a/examples/hooks/unionfs.sh b/examples/hooks/unionfs.sh new file mode 100755 index 000000000..bbf210a7a --- /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 -- cgit v1.2.3