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 4a90a462a7
commit 7607080f4d
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