Revert "Copy /etc/live/boot{,.conf} to initramfs"
authorMichael Prokop <mika@grml.org>
Tue, 5 Jul 2016 17:33:57 +0000 (19:33 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 5 Jul 2016 17:36:04 +0000 (19:36 +0200)
This reverts commit b98d289f42df126760c84957f69e5fdc7807d159.

This breaks if the files don't exist:

| update-initramfs: Generating /boot/initrd.img-4.1.0-1-grml-amd64
| cp: cannot stat '/etc/live/boot.conf': No such file or directory
| cp: cannot stat '/etc/live/boot': No such file or directory

backend/initramfs-tools/live.hook

index ab843a7..d5765bb 100755 (executable)
@@ -39,9 +39,6 @@ cp -a /bin/live-boot /lib/live/boot "${DESTDIR}/bin"
 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"
-
 # klibc dependencies
 for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr*
 do