[SCM] live-build branch, debian, updated. debian/3.0_a53-1

Daniel Baumann daniel at debian.org
Thu Jul 19 02:17:55 UTC 2012


The following commit has been merged in the debian branch:
commit d78619d404556a457c09563f78d19f0b00eb1ee5
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Jul 19 03:26:46 2012 +0200

    Removing update-initramfs.chroot example hook, obsoleted by live-builds own hacks.

diff --git a/examples/hooks/update-initramfs.chroot b/examples/hooks/update-initramfs.chroot
deleted file mode 100755
index b75b135..0000000
--- a/examples/hooks/update-initramfs.chroot
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# This is a hook for live-build(7) to rebuild the initramfs image.
-# To enable it, copy or symlink 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.
-
-for KERNEL in /boot/vmlinuz-*
-do
-	VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
-
-	update-initramfs -k ${VERSION} -t -u
-done

-- 
live-build



More information about the debian-live-changes mailing list