summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-04-09 05:40:20 +0200
committerDaniel Baumann <daniel@debian.org>2013-04-09 05:52:09 +0200
commitda153c652646162b2d121e6f7e9f50bb363412a6 (patch)
tree6a83cb523d32d96d247497a820d96ef8fe24e03f /scripts
parent13bfa69cbfc448a8c33b3e15825d1391bb12310e (diff)
downloadvyos-live-build-da153c652646162b2d121e6f7e9f50bb363412a6.tar.gz
vyos-live-build-da153c652646162b2d121e6f7e9f50bb363412a6.zip
Correcting typo directory when dereferencing syslinux symlinks when building chrooted, thanks to Luigi Capriotti <l.capriotti@xbmc.org>.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_syslinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index f55b32887..8caa6534f 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -150,7 +150,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
# Copy in two steps since the theme can have absolute symlinks and would therefore not be dereferenced correctly
cp -a ${_SOURCE} chroot/root
Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp || true
- rm -rf chroot/$(basename ${_SOURCE})
+ rm -rf chroot/root/$(basename ${_SOURCE})
mv chroot/root/$(basename ${_SOURCE}).tmp ${_TARGET}
;;