Correcting dependency checks in binary_package-lists (Closes: #774336).
This commit is contained in:
parent
90024a0391
commit
2309994612
|
@ -53,13 +53,15 @@ esac
|
|||
if ls config/package-lists/*.list > /dev/null 2>&1 || \
|
||||
ls config/package-lists/*.list.binary > /dev/null 2>&1
|
||||
then
|
||||
# Check depends
|
||||
Check_package host /usr/bin/apt-ftparchive apt-utils
|
||||
|
||||
case "${LB_BUILD_WITH_CHROOT}" in
|
||||
true)
|
||||
# Restoring cache
|
||||
Restore_cache cache/packages.chroot
|
||||
|
||||
# Check depends
|
||||
Check_package chroot /usr/bin/apt-ftparchive apt-utils
|
||||
Check_package chroot /usr/bin/grep-aptavail dctrl-tools
|
||||
|
||||
# Installing depends
|
||||
|
@ -67,17 +69,7 @@ then
|
|||
;;
|
||||
|
||||
false)
|
||||
if [ ! -e /usr/bin/apt-ftparchive ]; then
|
||||
# apt-utils
|
||||
Echo_error "/usr/bin/apt-ftparchive - no such file."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -e /usr/bin/grep-aptavail ]; then
|
||||
# dctrl-tools
|
||||
Echo_error "/usr/bin/grep-aptavail - no such file."
|
||||
exit 1
|
||||
fi
|
||||
Check_package host /usr/bin/grep-aptavail dctrl-tools
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue