From 7bcdcf7f059a6ef9895d0089df254b0ea8f413b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 17 Apr 2008 06:48:08 +0200 Subject: Using hardlinks to copy local packages into chroot. --- helpers/lh_chroot_sources | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/lh_chroot_sources') 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 -- cgit v1.2.3