projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Releasing debian version 2.0~a2-1.
[live-boot-grml.git]
/
hooks
/
live
diff --git
a/hooks/live
b/hooks/live
index
b286f6e
..
645b168
100755
(executable)
--- a/
hooks/live
+++ b/
hooks/live
@@
-1,6
+1,6
@@
#!/bin/sh
#!/bin/sh
-# initramfs hook for live-
initramfs
(Debian Live)
+# initramfs hook for live-
boot
(Debian Live)
set -e
set -e
@@
-22,9
+22,9
@@
esac
. /usr/share/initramfs-tools/hook-functions
. /usr/share/initramfs-tools/hook-functions
-# live-
initramfs
hook
+# live-
boot
hook
-# Handling live-
initramfs
+# Handling live-
boot
# Configuration
if [ -r /etc/live.conf ]
# Configuration
if [ -r /etc/live.conf ]
@@
-35,15
+35,15
@@
then
cp /etc/live.conf "${DESTDIR}"/etc
fi
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
# Directories
-mkdir -p "${DESTDIR}"/lib/live-
initramfs
+mkdir -p "${DESTDIR}"/lib/live-
boot
# Executables
# Executables
-copy_exec /usr/share/live-
initramfs
/live-reconfigure /bin
-copy_exec /usr/share/live-
initramfs
/live-preseed /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
# Scripts
cp /usr/share/initramfs-tools/scripts/live-functions "${DESTDIR}"/scripts
@@
-61,12
+61,19
@@
done
# udev dependencies (squeeze and newer)
for FILE in /lib/udev/*_id
do
# udev dependencies (squeeze and newer)
for FILE in /lib/udev/*_id
do
- if [ ! -e "${DESTDIR}
"/"
${FILE}" ]
+ if [ ! -e "${DESTDIR}
/
${FILE}" ]
then
then
- copy_exec "${FILE}" /lib/udev/
+ mkdir -p "${DESTDIR}/lib/udev"
+ copy_exec "${FILE}" /lib/udev
fi
done
fi
done
+if [ -e /lib/udev/rules.d/60-cdrom_id.rules ]
+then
+ mkdir -p ${DESTDIR}/lib/udev/rules.d
+ cp -p /lib/udev/rules.d/60-cdrom_id.rules ${DESTDIR}/lib/udev/rules.d
+fi
+
# Handling other stuff
# Configuration: keymap (usefull when using encryption)
# Handling other stuff
# Configuration: keymap (usefull when using encryption)
@@
-99,6
+106,11
@@
manual_add_modules ext4
# Filesystem: jffs2
manual_add_modules jffs2
# Filesystem: jffs2
manual_add_modules jffs2
+if [ -x /usr/bin/rsync ]
+then
+ copy_exec /usr/bin/rsync /bin
+fi
+
# Filesystem: squashfs
copy_exec /sbin/losetup /sbin
manual_add_modules loop
# Filesystem: squashfs
copy_exec /sbin/losetup /sbin
manual_add_modules loop
@@
-110,6
+122,12
@@
manual_add_modules unlzma
manual_add_modules aufs
manual_add_modules unionfs
manual_add_modules aufs
manual_add_modules unionfs
+# Filesystem: unionfs-fuse
+if [ -x /usr/bin/unionfs-fuse ]
+then
+ copy_exec /usr/bin/unionfs-fuse /bin
+fi
+
# Filesystem: vfat
manual_add_modules nls_cp437
manual_add_modules nls_iso8859-1
# Filesystem: vfat
manual_add_modules nls_cp437
manual_add_modules nls_iso8859-1
@@
-171,6
+189,12
@@
then
copy_exec /usr/bin/wget /bin
fi
copy_exec /usr/bin/wget /bin
fi
+# Program: blockdev
+if [ -x /sbin/blockdev ]
+then
+ copy_exec /sbin/blockdev /sbin
+fi
+
# FUSE kernel module
manual_add_modules fuse
# FUSE kernel module
manual_add_modules fuse