X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=backend%2Finitramfs-tools%2Flive.hook;fp=backend%2Finitramfs-tools%2Flive.hook;h=8b763b23315887300b9467dde2c34fcfc8efd4e4;hb=d73c5d56245abaf723a322d450f56432f9f4574d;hp=8337a6466173e35adb202d72e1e499b957e96bf5;hpb=b98d289f42df126760c84957f69e5fdc7807d159;p=live-boot-grml.git diff --git a/backend/initramfs-tools/live.hook b/backend/initramfs-tools/live.hook index 8337a64..8b763b2 100755 --- a/backend/initramfs-tools/live.hook +++ b/backend/initramfs-tools/live.hook @@ -34,7 +34,11 @@ mkdir -p "${DESTDIR}/lib/live" cp -a /lib/live/boot "${DESTDIR}/lib/live" mkdir -p "${DESTDIR}/etc/live" -cp -a /etc/live/boot.conf /etc/live/boot "${DESTDIR}/etc/live" +if [ -e /etc/live/boot.conf ] +then + cp -a /etc/live/boot.conf "${DESTDIR}/etc/live" +fi +cp -a /etc/live/boot "${DESTDIR}/etc/live" # klibc dependencies for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr*