Add BRANCH=nightly to testing manifest if autosigning with nightly key

This makes the manifest actually usable for nightly nodes, whereas currently
it's ignored because it doesn't contain that line.
This commit is contained in:
Jan-Philipp Litza 2016-12-14 22:18:09 +01:00
parent 44554a12c0
commit d214b70ab2
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ make manifest GLUON_BRANCH=testing GLUON_PRIORITY=0
cd ..
if [ -n "$KEYFILE" -a -r "$KEYFILE" ]; then
sed -i -e "/^BRANCH=testing/ a BRANCH=nightly" "${GLUON_DIR}/output/images/sysupgrade/testing.manifest"
"${GLUON_DIR}/contrib/sign.sh" "$KEYFILE" "${GLUON_DIR}/output/images/sysupgrade/testing.manifest"
fi