From b8480a3a4c6262918efd61498344e0e00a91f6db Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 6 Jan 2012 14:05:51 -0500 Subject: [PATCH] gnomeos: Initial commit should be a compose This is just cleaner - we know where the ref came from, rather than making it a copy, and also we can use it with the new --recompose bits to keep adding to it. --- gnomeos/yocto/commit-yocto-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnomeos/yocto/commit-yocto-build.sh b/gnomeos/yocto/commit-yocto-build.sh index 12a97029..4df39a4f 100755 --- a/gnomeos/yocto/commit-yocto-build.sh +++ b/gnomeos/yocto/commit-yocto-build.sh @@ -43,4 +43,4 @@ BUILD_TIME=$(date -r $BUILD_TAR) ostree --repo=${OSTREE_REPO} commit --skip-if-unchanged -s "Build from OSTree ${OSTREE_VER}" -b "${BASE}" --tree=tar=${BUILD_TAR} ostree --repo=${OSTREE_REPO} diff "${BASE}"^ "${BASE}" || true -cp ${OSTREE_REPO}/refs/heads/${BASE} ${OSTREE_REPO}/refs/heads/${BUILDROOT} +ostree --repo=${OSTREE_REPO} compose -s "Initial compose" -b ${BUILDROOT} ${BASE}