Aborting early in chroot_package-lists if no package list is found.
This commit is contained in:
parent
d0bb1a3ade
commit
7406724344
|
@ -42,10 +42,13 @@ Check_lockfile .lock
|
|||
Create_lockfile .lock
|
||||
|
||||
# Handling local package lists
|
||||
if ls config/package-lists/*.list > /dev/null 2>&1 || \
|
||||
if ! ( ls config/package-lists/*.list > /dev/null 2>&1 || \
|
||||
ls config/package-lists/*.list.chroot > /dev/null 2>&1 || \
|
||||
ls config/package-lists/*.list.chroot_${_PASS} > /dev/null 2>&1
|
||||
ls config/package-lists/*.list.chroot_${_PASS} > /dev/null 2>&1 )
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
case "${LB_BUILD_WITH_CHROOT}" in
|
||||
true)
|
||||
# Checking depends
|
||||
|
@ -104,4 +107,3 @@ then
|
|||
|
||||
# Creating stage file
|
||||
Create_stagefile .build/chroot_package-lists.${_PASS}
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue