X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=d87bfe7c68d1e597eb98550d723da173c5921281;hb=17feeefc3f0f812ee53428c89895f1468e323f8a;hp=cba7120e9c201e73627590380c4b38721967c1a6;hpb=a3ac28c3dfe8f4d77c10eb8fa92f96ef19bf1c68;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index cba7120..d87bfe7 100755 --- a/hooks/live +++ b/hooks/live @@ -27,8 +27,11 @@ esac # Handling live-boot # Configuration -mkdir -p "${DESTDIR}"/usr/share/live-boot -cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot +if [ -e /usr/share/live-boot/languagelist ] +then + mkdir -p "${DESTDIR}"/usr/share/live-boot + cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot +fi # Directories mkdir -p "${DESTDIR}"/lib/live-boot @@ -84,6 +87,9 @@ then uuidgen -r > "${DESTDIR}"/conf/uuid.conf fi +# Filesystem: btrfs +manual_add_modules btrfs + # Filesystem: cifs if [ -x /sbin/mount.cifs ] then @@ -151,6 +157,13 @@ fi # Program: md5sum copy_exec /usr/bin/md5sum /bin +# Program: memdisk +if [ -x /usr/bin/memdiskfind ] +then + copy_exec /usr/bin/memdiskfind + manual_add_modules phram mtdblock +fi + # Program: cpio # busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots if [ -e "${DESTDIR}/bin/cpio" ]