summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-03-10 22:29:23 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:07 +0200
commit1083985682c166a9c117b08bee9cecc3beb20d73 (patch)
treee6affcb83f94fddb3e7eba0858590451bf4c9693 /scripts
parent6ce319f16d9430001233de05fa6e9d6ba9ce0d1f (diff)
downloadvyos-live-build-1083985682c166a9c117b08bee9cecc3beb20d73.tar.gz
vyos-live-build-1083985682c166a9c117b08bee9cecc3beb20d73.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 0504b5f35..474310781 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}
;;