[SCM] live-build branch, debian-next, updated. debian/3.0_a52-1-15-g478fd43

Daniel Baumann daniel at debian.org
Thu Jul 19 01:27:35 UTC 2012


The following commit has been merged in the debian-next branch:
commit 843bf54fef17ea739fb5d1dec1ae52c658734dee
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