summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphaƫl Hertzog <hertzog@debian.org>2017-06-15 12:55:50 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-09-15 11:05:30 +0000
commitbd5845bf62dc4ce689c0bcd4446dbf1f897b254d (patch)
treeb9eb3cca35328d475963b9ce976196bdc0529d42
parentOnly copying /etc/live/boot if it exists. (diff)
downloadsystem-boot-bd5845bf62dc4ce689c0bcd4446dbf1f897b254d.tar.xz
system-boot-bd5845bf62dc4ce689c0bcd4446dbf1f897b254d.zip
Do not duplicate files in /lib/live/boot/ and /bin/boot/ in the initrd, thanks to Daniel Reichelt <debian@nachtgeist.net> (#864385).
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xbackend/initramfs-tools/live.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/initramfs-tools/live.hook b/backend/initramfs-tools/live.hook
index 5bfa9fd..6deca53 100755
--- a/backend/initramfs-tools/live.hook
+++ b/backend/initramfs-tools/live.hook
@@ -28,7 +28,7 @@ fi
[ "${QUIET}" ] || echo -n " core"
mkdir -p "${DESTDIR}/bin"
-cp -a /bin/live-boot /lib/live/boot "${DESTDIR}/bin"
+cp -a /bin/live-boot "${DESTDIR}/bin"
mkdir -p "${DESTDIR}/lib/live"
cp -a /lib/live/boot "${DESTDIR}/lib/live"