X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=8cfc360211dbd2965ba097bf5bfe7a791b3e03dc;hb=fac6393bff14ccc6aa19b3335ca47f83fe4c32b5;hp=0ed58d8bcb90ac1b8ca661cbb9210211a599d0c8;hpb=fccfd0920ef2d0177d26e76dcfcd132cf53d6988;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 0ed58d8..8cfc360 100755 --- a/hooks/live +++ b/hooks/live @@ -39,7 +39,6 @@ fi mkdir -p "${DESTDIR}"/lib/live-initramfs # Executables -copy_exec /usr/lib/live-initramfs/live-md5check /bin copy_exec /usr/share/live-initramfs/live-reconfigure /bin copy_exec /usr/share/live-initramfs/live-preseed /bin @@ -58,6 +57,13 @@ then cp /etc/console/boottime.kmap.gz "${DESTDIR}"/etc fi +# Configuration: Unique ID +if [ -n "${LIVE_GENERATE_UUID}" ] +then + mkdir -p "${DESTDIR}"/conf + uuidgen -r > "${DESTDIR}"/conf/uuid.conf +fi + # Filesystem: cifs if [ -x /sbin/mount.cifs ] then @@ -99,6 +105,9 @@ then copy_exec /usr/bin/eject /bin fi +# Program: md5sum +copy_exec /usr/bin/md5sum /bin + # Program: udev if [ "${BUILD_SYSTEM}" = "Ubuntu" ] then @@ -112,3 +121,9 @@ fi copy_exec /sbin/udevtrigger /sbin copy_exec /sbin/udevsettle /sbin copy_exec /usr/bin/udevinfo /bin + +# Program: wget +if [ -x /usr/bin/wget ] +then + copy_exec /usr/bin/wget /bin +fi