Make --architectures armel only fail if --linux-flavours was not passed (Closes: #630464).
This commit is contained in:
parent
21dfadb622
commit
65ac1c651c
|
@ -593,9 +593,12 @@ Set_defaults ()
|
||||||
# Setting linux flavour string
|
# Setting linux flavour string
|
||||||
case "${LB_ARCHITECTURES}" in
|
case "${LB_ARCHITECTURES}" in
|
||||||
armel)
|
armel)
|
||||||
Echo_error "There is no default kernel flavour defined for your architecture."
|
if [ -z "${LB_LINUX_FLAVOURS}" ]
|
||||||
Echo_error "Please configure it manually with 'lb config -k FLAVOUR'."
|
then
|
||||||
exit 1
|
Echo_error "There is no default kernel flavour defined for your architecture."
|
||||||
|
Echo_error "Please configure it manually with 'lb config -k FLAVOUR'."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
amd64)
|
amd64)
|
||||||
|
|
Loading…
Reference in New Issue