summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-24 15:27:36 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:52:46 +0100
commite66f79476042794195978ee641aa7ea0d9ca6e0a (patch)
tree90286f281543c1a6f4ad56e229f5ff95438613da /hooks
parentad7598cb46a5a6268ca60e5dba156056fb86c09d (diff)
downloadlive-boot-e66f79476042794195978ee641aa7ea0d9ca6e0a.tar.gz
live-boot-e66f79476042794195978ee641aa7ea0d9ca6e0a.zip
Adding debian version 2.0~a1-1.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live17
1 files changed, 8 insertions, 9 deletions
diff --git a/hooks/live b/hooks/live
index afa198d..645b168 100755
--- a/hooks/live
+++ b/hooks/live
@@ -1,6 +1,6 @@
#!/bin/sh
-# initramfs hook for live-initramfs (Debian Live)
+# initramfs hook for live-boot (Debian Live)
set -e
@@ -22,9 +22,9 @@ esac
. /usr/share/initramfs-tools/hook-functions
-# live-initramfs hook
+# live-boot hook
-# Handling live-initramfs
+# Handling live-boot
# Configuration
if [ -r /etc/live.conf ]
@@ -35,16 +35,15 @@ then
cp /etc/live.conf "${DESTDIR}"/etc
fi
-mkdir -p "${DESTDIR}"/usr/share/live-initramfs
-cp /usr/share/live-initramfs/languagelist "${DESTDIR}"/usr/share/live-initramfs
+mkdir -p "${DESTDIR}"/usr/share/live-boot
+cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot
# Directories
-mkdir -p "${DESTDIR}"/lib/live-initramfs
+mkdir -p "${DESTDIR}"/lib/live-boot
# Executables
-copy_exec /usr/share/live-initramfs/live-reconfigure /bin
-copy_exec /usr/share/live-initramfs/live-preseed /bin
-copy_exec /usr/share/live-initramfs/live-set-selections /bin
+copy_exec /usr/share/live-boot/live-reconfigure /bin
+copy_exec /usr/share/live-boot/live-preseed /bin
# Scripts
cp /usr/share/initramfs-tools/scripts/live-functions "${DESTDIR}"/scripts