Allowing also symlinks in chroot_local-packages (Closes: #593186).
This commit is contained in:
parent
e02b31b73b
commit
db013cdde0
|
@ -204,12 +204,28 @@ EOF
|
||||||
# Copy packages
|
# Copy packages
|
||||||
if Find_files config/chroot_local-packages/*_"${LB_ARCHITECTURE}".deb
|
if Find_files config/chroot_local-packages/*_"${LB_ARCHITECTURE}".deb
|
||||||
then
|
then
|
||||||
cp ${CP_OPTIONS} config/chroot_local-packages/*_"${LB_ARCHITECTURE}".deb chroot/root/local-packages
|
for FILE in config/chroot_local-packages/*_"${LB_ARCHITECTURE}".deb
|
||||||
|
do
|
||||||
|
if [ -L "${FILE}" ]
|
||||||
|
then
|
||||||
|
cp -L config/chroot_local-packages/*_"${LB_ARCHITECTURE}".deb chroot/root/local-packages
|
||||||
|
else
|
||||||
|
cp ${CP_OPTIONS} config/chroot_local-packages/*_"${LB_ARCHITECTURE}".deb chroot/root/local-packages
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if Find_files config/chroot_local-packages/*_all.deb
|
if Find_files config/chroot_local-packages/*_all.deb
|
||||||
then
|
then
|
||||||
cp ${CP_OPTIONS} config/chroot_local-packages/*_all.deb chroot/root/local-packages
|
for FILE in config/chroot_local-packages/*_all.deb
|
||||||
|
do
|
||||||
|
if [ -L "${FILE}" ]
|
||||||
|
then
|
||||||
|
cp -L config/chroot_local-packages/*_all.deb chroot/root/local-packages
|
||||||
|
else
|
||||||
|
cp ${CP_OPTIONS} config/chroot_local-packages/*_all.deb chroot/root/local-packages
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if Find_files chroot/root/local-packages/*.deb
|
if Find_files chroot/root/local-packages/*.deb
|
||||||
|
|
Loading…
Reference in New Issue