diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 2224340728..8d5b0963f8 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -401,7 +401,10 @@ buildhistory_commit() { | |||
401 | if [ "$repostatus" != "" ] ; then | 401 | if [ "$repostatus" != "" ] ; then |
402 | git add ${BUILDHISTORY_DIR}/* | 402 | git add ${BUILDHISTORY_DIR}/* |
403 | HOSTNAME=`hostname 2>/dev/null || echo unknown` | 403 | HOSTNAME=`hostname 2>/dev/null || echo unknown` |
404 | git commit ${BUILDHISTORY_DIR}/ -m "Build ${BUILDNAME} of ${DISTRO} ${DISTRO_VERSION} for machine ${MACHINE} on $HOSTNAME" --author "${BUILDHISTORY_COMMIT_AUTHOR}" > /dev/null | 404 | # porcelain output looks like "?? packages/foo/bar" |
405 | for entry in `echo $repostatus | awk '{print $2}' | awk -F/ '{print $1}' | sort | uniq` ; do | ||
406 | git commit ${BUILDHISTORY_DIR}/$entry -m "$entry: Build ${BUILDNAME} of ${DISTRO} ${DISTRO_VERSION} for machine ${MACHINE} on $HOSTNAME" --author "${BUILDHISTORY_COMMIT_AUTHOR}" > /dev/null | ||
407 | done | ||
405 | if [ "${BUILDHISTORY_PUSH_REPO}" != "" ] ; then | 408 | if [ "${BUILDHISTORY_PUSH_REPO}" != "" ] ; then |
406 | git push -q ${BUILDHISTORY_PUSH_REPO} | 409 | git push -q ${BUILDHISTORY_PUSH_REPO} |
407 | fi | 410 | fi |