diff options
author | Daniel Baumann <daniel@debian.org> | 2008-04-17 06:48:08 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:32 +0100 |
commit | 7bcdcf7f059a6ef9895d0089df254b0ea8f413b9 (patch) | |
tree | f7c0a00085c4afc559ea134acbf509ce8cb9af42 | |
parent | d23cf256e8ce3fc0991986555a04114ff4ed7c2d (diff) | |
download | vyos-live-build-7bcdcf7f059a6ef9895d0089df254b0ea8f413b9.tar.gz vyos-live-build-7bcdcf7f059a6ef9895d0089df254b0ea8f413b9.zip |
Using hardlinks to copy local packages into chroot.
-rwxr-xr-x | helpers/lh_chroot_sources | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources index 0dc3d76d7..154a224a5 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 |