From 001a6b6a6b996e72e4e86678e17876d96149c32f Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Fri, 22 Mar 2019 20:56:30 +0100 Subject: [PATCH] generate images.list after building the firmware --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 5ac1e42..d9360f1 100755 --- a/build.sh +++ b/build.sh @@ -96,6 +96,8 @@ for t in $targets; do announce Starting build for $t... >&2 make -j$(nproc) GLUON_TARGET=$t $verbose done +# Generate the images.list +( cd "${GLUON_OUTPUTDIR}/images" && find -type f ! -iname '*.manifest' ! -iname images.list | sed -e 's!^\./\(.*\)$!\1!' -e 's!/! !g' | sort > images.list ) announce Building manifest... make manifest if [ -n "${signature}" ]; then