Commit 9d95afb9 authored by Fathi Boudra's avatar Fathi Boudra Committed by Fathi Boudra
Browse files

Adding linux flavours for arm64/armhf architectures.



Signed-off-by: default avatarFathi Boudra <fabo@debian.org>
parent e51315ae
......@@ -506,6 +506,18 @@ Set_defaults ()
# Setting linux flavour string
case "${LB_ARCHITECTURES}" in
arm64)
case "${LB_MODE}" in
ubuntu)
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}"
;;
*)
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-arm64}"
;;
esac
;;
armel)
case "${LB_MODE}" in
ubuntu)
......@@ -520,9 +532,17 @@ Set_defaults ()
;;
armhf)
# armhf will have special images: one rootfs image and many additional kernel images.
# therefore we default to all available armhf flavours
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-armmp armmp-lpae}"
case "${LB_MODE}" in
ubuntu)
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}"
;;
*)
# armhf will have special images: one rootfs image and many additional kernel images.
# therefore we default to all available armhf flavours
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-armmp armmp-lpae}"
;;
esac
;;
amd64)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment