Using hardlinks to copy local packages into chroot.

This commit is contained in:
Daniel Baumann 2008-04-17 06:48:08 +02:00
parent d23cf256e8
commit 7bcdcf7f05
1 changed files with 2 additions and 2 deletions

View File

@ -86,12 +86,12 @@ case "${1}" in
# Copy packages # Copy packages
if ls config/chroot_local-packages/*_"${LH_ARCHITECTURE}".deb > /dev/null 2>&1 if ls config/chroot_local-packages/*_"${LH_ARCHITECTURE}".deb > /dev/null 2>&1
then 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 fi
if ls config/chroot_local-packages/*_all.deb > /dev/null 2>&1 if ls config/chroot_local-packages/*_all.deb > /dev/null 2>&1
then 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 fi
if ls chroot/root/local-packages/*.deb > /dev/null 2>&1 if ls chroot/root/local-packages/*.deb > /dev/null 2>&1