summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-17 06:48:08 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:32 +0100
commit7bcdcf7f059a6ef9895d0089df254b0ea8f413b9 (patch)
treef7c0a00085c4afc559ea134acbf509ce8cb9af42 /helpers/lh_chroot_sources
parentd23cf256e8ce3fc0991986555a04114ff4ed7c2d (diff)
downloadlive-build-7bcdcf7f059a6ef9895d0089df254b0ea8f413b9.zip
live-build-7bcdcf7f059a6ef9895d0089df254b0ea8f413b9.tar.gz
Using hardlinks to copy local packages into chroot.
Diffstat (limited to 'helpers/lh_chroot_sources')
-rwxr-xr-xhelpers/lh_chroot_sources4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index 0dc3d76..154a224 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -86,12 +86,12 @@ case "${1}" in
# Copy packages
if ls config/chroot_local-packages/*_"${LH_ARCHITECTURE}".deb > /dev/null 2>&1
then
- cp config/chroot_local-packages/*_"${LH_ARCHITECTURE}".deb chroot/root/local-packages
+ cp -l config/chroot_local-packages/*_"${LH_ARCHITECTURE}".deb chroot/root/local-packages
fi
if ls config/chroot_local-packages/*_all.deb > /dev/null 2>&1
then
- cp config/chroot_local-packages/*_all.deb chroot/root/local-packages
+ cp -l config/chroot_local-packages/*_all.deb chroot/root/local-packages
fi
if ls chroot/root/local-packages/*.deb > /dev/null 2>&1