diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2018-05-17 22:31:51 -0500 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2018-05-18 11:50:49 +0300 |
commit | 42d69db0e75a4686f62df7c6cedd4cf40cf86b2a (patch) | |
tree | 83ca289cd52c6377bdb88148afcd943d6b2cfcb6 /rpb-openembedded | |
parent | 645c7fb020755767029f68fae34c55ecfc8513b1 (diff) |
rpb-openembedded: remove uncompressed images
Some uncompressed images linger in the deploy/ directory
unnecessarily, some of which are big. For example:
3.6G rpb-desktop-image-test-stih410-b2260-20180518034714.rootfs.ext4
11G rpb-desktop-image-test-stih410-b2260-20180518034714.stimg
There is no need for those images when their compressed
counterpart is there:
614M rpb-desktop-image-test-stih410-b2260-20180518034714.rootfs.ext4.gz
620M rpb-desktop-image-test-stih410-b2260-20180518034714.stimg.gz
Change-Id: I24640f6dedcfdb3a3dba84e0e0f0ba21a0cceefd
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'rpb-openembedded')
-rwxr-xr-x | rpb-openembedded/builders.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rpb-openembedded/builders.sh b/rpb-openembedded/builders.sh index 48d2bfd5..e51da5ca 100755 --- a/rpb-openembedded/builders.sh +++ b/rpb-openembedded/builders.sh @@ -105,6 +105,13 @@ find ${DEPLOY_DIR_IMAGE} -type l -delete mv /srv/oe/{source,pinned}-manifest.xml ${DEPLOY_DIR_IMAGE} cat ${DEPLOY_DIR_IMAGE}/pinned-manifest.xml +# FIXME: IMAGE_FSTYPES_remove doesn't work +rm -f ${DEPLOY_DIR_IMAGE}/*.rootfs.ext4 \ + ${DEPLOY_DIR_IMAGE}/*.rootfs.iso \ + ${DEPLOY_DIR_IMAGE}/*.rootfs.wic \ + ${DEPLOY_DIR_IMAGE}/*.iso \ + ${DEPLOY_DIR_IMAGE}/*.stimg + # FIXME: Sparse images here, until it gets done by OE case "${MACHINE}" in juno|stih410-b2260|orangepi-i96) |