Those two variables, and especially "pvops_kconfig_overrides", aren't
reset for the next loop of `for arch ...`. So when
"pvops_kconfig_overrides" is for "armhf", it is also set for "arm64"
as this is the next "arch" in the loop.
Avoid this by setting default values for the variables before the
`case` command.
This changes Linux arm64 builds which will not have "CONFIG_EXT4_FS=y"
anymore, but should get "CONFIG_EXT4_FS=m" instead from
`ts-kernel-build`. But resulting build still have "CONFIG_EXT4_FS=y",
so no change.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
build_matrix_branch_filter_callback || continue
+ pvops_kconfig_overrides=""
+ pvops_kernel="
+ tree_linux=$TREE_LINUX
+ revision_linux=${REVISION_LINUX:-${DEFAULT_REVISION_LINUX}}
+ "
case "$arch" in
armhf)
case "$xenbranch" in
revision_linux=${REVISION_LINUX_ARM:-${DEFAULT_REVISION_LINUX_ARM}}
"
;;
- *)
- pvops_kernel="
- tree_linux=$TREE_LINUX
- revision_linux=${REVISION_LINUX:-${DEFAULT_REVISION_LINUX}}
- "
- ;;
esac
case "$arch" in