From 518fbfb68f9033d17f1dd06abf989f8bcc252990 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Sep 2008 12:28:03 +0200 Subject: Adding example hook to update initramfs. --- examples/hooks/update-initramfs.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 examples/hooks/update-initramfs.sh 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 -- cgit v1.0