fix the list of the firmware files in images.list to include symlinks

This commit is contained in:
Daniel Frank 2019-04-12 19:59:34 +02:00
parent 001a6b6a6b
commit 4fb0b6769a
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -97,7 +97,7 @@ for t in $targets; do
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 )
( 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 )
announce Building manifest...
make manifest
if [ -n "${signature}" ]; then