diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/lb_binary_syslinux | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux index 9663fa3b3..2788103dd 100755 --- a/scripts/build/lb_binary_syslinux +++ b/scripts/build/lb_binary_syslinux @@ -166,10 +166,10 @@ else fi # Copying files -mkdir -p $(dirname ${_TARGET}) - case "${LB_BUILD_WITH_CHROOT}" in true) + mkdir -p $(dirname ${_TARGET}) + # Copy in two steps since the theme can have absolute symlinks and would therefore not be dereferenced correctly if [ "${LB_SYSLINUX_THEME}" = "live-build" ] then @@ -190,6 +190,8 @@ case "${LB_BUILD_WITH_CHROOT}" in ;; false) + mkdir -p ${_TARGET} + cp -aL ${_SOURCE}/* ${_TARGET} case "${LB_MODE}" in |