diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-07 13:27:51 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-07 13:27:51 +0200 |
commit | 845f1531ee16622ec3f16d0b3b11e65897a30030 (patch) | |
tree | 6a95425bdaa7ef7e2456b6c8e4719b233a563f7f | |
parent | f22fae41ff97ab866a23d23a8bffa00ff7588b19 (diff) |
Remove old images before build
Otherwise these pile up forever. We store rpms and ostree repo between
builds anyway
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ all: ${FILE_REF_PLATFORM} ${FILE_REF_SDK} COMMIT_ARGS=--generate-sizes --repo=repo --owner-uid=0 --owner-gid=0 --no-xattrs ${IMAGES} allimages: + rm -f ${IMAGEDIR}/freedesktop-contents-*.tar.gz # Remove all old images to make space + rm -rf build/*/tmp-glibc/deploy/images/*/freedesktop-contents-*.tar.gz git submodule update --init mkdir -p build/${ARCH} ./freedesktop-sdk-build-yocto ${srcdir}/ ${builddir}/build/ ${ARCH} ${HASH} |