[SCM] live-initramfs branch, debian-next, updated. debian/1.236.1-1-24-g7feeba0

Daniel Baumann daniel at debian.org
Tue May 18 19:01:37 UTC 2010


The following commit has been merged in the debian-next branch:
commit 7feeba020e9376df2a93c8ac226908800fd88c87
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue May 18 20:55:31 2010 +0200

    Moving 99hook to live-sysinit.

diff --git a/scripts/live-bottom/99hook b/scripts/live-bottom/99hook
deleted file mode 100755
index 8809800..0000000
--- a/scripts/live-bottom/99hook
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-#set -e
-
-# initramfs-tools header
-
-PREREQ=""
-
-prereqs()
-{
-	echo "${PREREQ}"
-}
-
-case "${1}" in
-	prereqs)
-		prereqs
-		exit 0
-		;;
-esac
-
-# live-initramfs header
-
-if [ -z "${HOOK}" ]
-then
-	exit 0
-fi
-
-. /scripts/live-functions
-
-log_begin_msg "Executing custom hook script"
-
-# live-initramfs script
-
-cd /root
-
-if [ $(echo "${HOOK}" | grep file:\/\/) ]
-then
-	LOCALFILE=$(echo ${HOOK} | sed "s/file\:\/\///")
-	cp ${LOCALFILE} /root
-else
-	chroot /root wget "${HOOK}"
-fi
-
-FILE="$(basename ${HOOK})"
-
-chmod 0755 "${FILE}"
-./"${FILE}"
-rm -f "${FILE}"
-
-log_end_msg

-- 
live-initramfs



More information about the debian-live-changes mailing list