diff options
author | Daniel Baumann <daniel@debian.org> | 2008-09-11 12:28:03 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:42 +0100 |
commit | 518fbfb68f9033d17f1dd06abf989f8bcc252990 (patch) | |
tree | 95ca6ab416b9bd3b5f08ac5bc8060987b0aa5799 /examples/hooks | |
parent | e22c2da3caf4e8b8b015fcabe15ce62d6993284e (diff) | |
download | live-build-518fbfb68f9033d17f1dd06abf989f8bcc252990.zip live-build-518fbfb68f9033d17f1dd06abf989f8bcc252990.tar.gz |
Adding example hook to update initramfs.
Diffstat (limited to 'examples/hooks')
-rwxr-xr-x | examples/hooks/update-initramfs.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/hooks/update-initramfs.sh b/examples/hooks/update-initramfs.sh new file mode 100755 index 0000000..e220418 --- /dev/null +++ b/examples/hooks/update-initramfs.sh @@ -0,0 +1,9 @@ +#!/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 you have modified any initramfs-script +# during the build and need to refresh the initrd.img for that purpose. + +update-initramfs -k all -t -u |