summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:05:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit9a03b166882cf68ff34e60fb26b6d460842072be (patch)
tree9e580418a1f4fd9dd727f7a93e73dfdfd3336034 /helpers
parent8a99616e89afc0c88b650dc6297024d2514eed8a (diff)
downloadvyos-live-build-9a03b166882cf68ff34e60fb26b6d460842072be.tar.gz
vyos-live-build-9a03b166882cf68ff34e60fb26b6d460842072be.zip
Do not create symlinks on usb-hdd images.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_debian-installer5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 7145043d5..35d6b6b55 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -420,7 +420,10 @@ do
ln -s ${LH_DISTRIBUTION} binary/dists/${DISTRIBUTION}
done
-ln -s . binary/debian
+if [ "${LH_BINARY_IMAGES}" != "usb-hdd" ]
+then
+ ln -s . binary/debian
+fi
# Creating stage file
Create_stagefile .stage/binary_debian-installer