Using hardlinks to copy local packages into chroot.
This commit is contained in:
parent
d23cf256e8
commit
7bcdcf7f05
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue