Simplifying exit check in chroot_linux-image.
This commit is contained in:
parent
1c5b4985dc
commit
ae2bee55ed
|
@ -24,6 +24,11 @@ Arguments "${@}"
|
|||
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
||||
Set_defaults
|
||||
|
||||
if [ "${LB_LINUX_PACKAGES}" = "none" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .build/config .build/bootstrap
|
||||
|
||||
|
@ -43,8 +48,6 @@ Create_lockfile .lock
|
|||
# ;;
|
||||
#esac
|
||||
|
||||
if [ "${LB_LINUX_PACKAGES}" != "none" ]
|
||||
then
|
||||
for FLAVOUR in ${LB_LINUX_FLAVOURS}
|
||||
do
|
||||
for PACKAGE in ${LB_LINUX_PACKAGES}
|
||||
|
@ -117,4 +120,3 @@ EOF
|
|||
|
||||
# Creating stage file
|
||||
Create_stagefile .build/chroot_linux-image
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue