build.sh: create images.list with first line indication the release version

This commit is contained in:
Daniel Frank 2019-08-25 11:12:56 +02:00
parent 9ec6df8a05
commit 2affcbeb3e
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -116,7 +116,7 @@ for broken_image in "${broken_images[@]}"; do
done done
# Generate the images.list # Generate the images.list
# shellcheck disable=SC2094 # shellcheck disable=SC2094
( cd "${GLUON_OUTPUTDIR}/images" && ( find . -type f ! -iname '*.manifest' ! -iname images.list; find . -type l ! -iname '*.manifest' ) | sed -e 's!^\./\(.*\)$!\1!' -e 's!/! !g' | sort > images.list ) ( cd "${GLUON_OUTPUTDIR}/images" && ( echo "RELEASE=${GLUON_RELEASE}"; find . -type f ! -iname '*.manifest' ! -iname images.list; find . -type l ! -iname '*.manifest' ) | sed -e 's!^\./\(.*\)$!\1!' -e 's!/! !g' | sort > images.list )
announce Building manifest... announce Building manifest...
make manifest make manifest
if [ -n "${signature}" ]; then if [ -n "${signature}" ]; then