diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:37 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:05 +0100 |
| commit | 0a1b827c113b85f48bcd58e64ccd94d094b9bd8a (patch) | |
| tree | d83a31c0fdd90c55379666f5962df9c1ea6e43d4 /hooks | |
| parent | ccea277caf476cdfef4c0f953df5a97062d8be42 (diff) | |
| download | live-boot-0a1b827c113b85f48bcd58e64ccd94d094b9bd8a.tar.gz live-boot-0a1b827c113b85f48bcd58e64ccd94d094b9bd8a.zip | |
Adding live-initramfs 1.87.5-1.
Diffstat (limited to 'hooks')
| -rwxr-xr-x | hooks/live | 51 |
1 files changed, 21 insertions, 30 deletions
@@ -47,39 +47,21 @@ copy_exec /usr/share/live-initramfs/live-preseed /bin cp /usr/share/initramfs-tools/scripts/live-functions "${DESTDIR}"/scripts cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts -# Handling binaries +# Handling other stuff -# losetup -copy_exec /sbin/losetup /sbin - -# mount.cifs -if [ -x /sbin/mount.cifs ] -then - copy_exec /sbin/mount.cifs /sbin -fi - -# eject -copy_exec /usr/bin/eject /bin - -# udev -if [ "${BUILD_SYSTEM}" = "Ubuntu" ] +# Configuration: keymap (usefull when using encryption) +if [ -x /bin/loadkeys ] && [ -r /etc/console/boottime.kmap.gz ] then - mkdir -p "${DESTDIR}"/lib/udev + copy_exec /bin/loadkeys /bin - copy_exec /lib/udev/cdrom_id /lib/udev - copy_exec /lib/udev/path_id /lib/udev - copy_exec /lib/udev/vol_id /lib/udev + mkdir -p "${DESTDIR}"/etc + cp /etc/console/boottime.kmap.gz "${DESTDIR}"/etc fi -copy_exec /sbin/udevtrigger /sbin -copy_exec /sbin/udevsettle /sbin -copy_exec /usr/bin/udevinfo /bin - -# Handling kernel modules - # Filesystem: cifs if [ -x /sbin/mount.cifs ] then + copy_exec /sbin/mount.cifs /sbin manual_add_modules cifs fi @@ -87,6 +69,7 @@ fi manual_add_modules ext3 # Filesystem: squashfs +copy_exec /sbin/losetup /sbin manual_add_modules loop manual_add_modules squashfs @@ -108,11 +91,19 @@ manual_add_modules sr_mod # Hardware: network auto_add_modules net -# Custom keymap (usefull when using encryption) -if [ -x /bin/loadkeys ] && [ -r /etc/console/boottime.kmap.gz ] +# Program: eject +copy_exec /usr/bin/eject /bin + +# Program: udev +if [ "${BUILD_SYSTEM}" = "Ubuntu" ] then - copy_exec /bin/loadkeys /bin + mkdir -p "${DESTDIR}"/lib/udev - mkdir -p "${DESTDIR}"/etc - cp /etc/console/boottime.kmap.gz "${DESTDIR}"/etc + copy_exec /lib/udev/cdrom_id /lib/udev + copy_exec /lib/udev/path_id /lib/udev + copy_exec /lib/udev/vol_id /lib/udev fi + +copy_exec /sbin/udevtrigger /sbin +copy_exec /sbin/udevsettle /sbin +copy_exec /usr/bin/udevinfo /bin |
