build.sh: force manifest symlink for overwrite on rebuild

This commit is contained in:
Martin/Geno 2018-02-02 20:16:41 +01:00 committed by Jan-Philipp Litza
parent c755b61789
commit 884cad9ea7
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,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"
ln -sf testing.manifest "${GLUON_DIR}/output/images/sysupgrade/nightly.manifest"
ln -sf testing.manifest "${GLUON_DIR}/output/images/sysupgrade/manifest"
fi
# sign testing/nightly manifest if key is present