build.sh: Add manifest symlinks for nightly and very old firmwares

This commit is contained in:
Jan-Philipp Litza 2017-03-04 23:26:37 +01:00 committed by Jan-Philipp Litza
parent c193a7a068
commit 72e2ef0378
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ if [ -z "${GLUON_BRANCH:-}" ]; then
# add BRANCH=nightly line below BRANCH=testing line
sed -i -e "/^BRANCH=testing/ a BRANCH=nightly" \
"${GLUON_DIR}/output/images/sysupgrade/testing.manifest"
ln -s testing.manifest "${GLUON_DIR}/output/images/sysupgrade/nightly.manifest"
ln -s testing.manifest "${GLUON_DIR}/output/images/sysupgrade/manifest"
fi
# sign testing/nightly manifest if key is present