diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2020-02-06 07:47:55 -0600 |
---|---|---|
committer | Aníbal Limón <anibal.limon@linaro.org> | 2020-02-06 07:48:20 -0600 |
commit | ff4339eebebe46f7de97b0dc41d32594da644e86 (patch) | |
tree | 4de0bcad68f826243236f222d9c3c25ef71712af | |
parent | 07fbfde5068914be2e247dd4b00cd8e2a621d9e3 (diff) |
rpb-openembedded/builders.sh: Use img2simg instead of ext2img
I have been experimenting corruption in images [1] created with ext2img
and not happen using newer img2simg so change it and add filesystem
check before create .img file.
[1] https://validation.linaro.org/scheduler/job/1965964
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Change-Id: I0963b48c672289fad5d4743023b2b9c1cc57897e
-rwxr-xr-x | rpb-openembedded/builders.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpb-openembedded/builders.sh b/rpb-openembedded/builders.sh index bf465bda..2aabf16d 100755 --- a/rpb-openembedded/builders.sh +++ b/rpb-openembedded/builders.sh @@ -147,7 +147,7 @@ case "${MACHINE}" in *) for rootfs in $(find ${DEPLOY_DIR_IMAGE} -type f -name *.rootfs.ext4.gz); do pigz -d -k ${rootfs} - sudo ext2simg -v ${rootfs%.gz} ${rootfs%.ext4.gz}.img + sudo img2simg -v ${rootfs%.gz} ${rootfs%.ext4.gz}.img rm -f ${rootfs%.gz} pigz -9 ${rootfs%.ext4.gz}.img done |