Skip to content

Commit

Permalink
Merge pull request #56 from flatcar/fix-multi-sysext
Browse files Browse the repository at this point in the history
bake_flatcar_image: Fix check for empty sysext list
  • Loading branch information
jepio authored Apr 10, 2024
2 parents 403e75f + bbe3436 commit a8acc0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bake_flatcar_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ while [ $# -gt 0 ]; do
esac
done

if [ -z "${sysexts[@]}" ] ; then
if [ -z "${sysexts[*]}" ] ; then
echo -e "\nERROR: No sysexts specified.\n"
print_help
exit 1
Expand Down Expand Up @@ -322,7 +322,7 @@ mkdir "${workdir}"
cd "${workdir}"

download_all "$board" "${vendor}" "$release"
install_sysexts "${install_to}" "${sysexts}"
install_sysexts "${install_to}" "${sysexts[@]}"
create_vendor_image "$board" "${vendor}"
rm -f *.sig *.squashfs
)
Expand Down

0 comments on commit a8acc0d

Please sign in to comment.