diff options
Diffstat (limited to 'examples/hooks/update-initramfs.sh')
-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 |