summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorNiko Mauno <niko.mauno@vaisala.com>2024-08-13 09:26:47 +0000
committerSteve Sakoman <steve@sakoman.com>2024-08-19 06:09:14 -0700
commit52ddff3d59e8d17d449085da500cda60f291d312 (patch)
tree1ea9175d8d0ba36ab10d8e63d8d15be6e864e54f /bitbake/lib/bb/data_smart.py
parent3cc8c3520cedb66500757f843f757646da69ab30 (diff)
downloadpoky-52ddff3d59e8d17d449085da500cda60f291d312.tar.gz
image_types.bbclass: Use --force also with lz4,lzop
Several conversion commands already make use of 'force' option in the compression, which enables overwriting existing files without prompting. Since occasionally an existing residual destination file from a previously aborted or failed task can prevent the re-execution of the conversion command task, by enabling the 'force' option also for lz4 and lzop compression commands we can avoid following kind of BitBake failures with these compressors: | DEBUG: Executing shell function do_image_cpio | 117685 blocks | 2 blocks | example-image.cpio.lz4 already exists; do you want to overwrite (y/N) ? not overwritten | Error 20 : example-image.cpio : open file error | WARNING: exit code 20 from a shell command. ERROR: Task (.../recipes-core/images/example-image.bb:do_image_cpio) failed with exit code '1' (From OE-Core rev: 623ab22434909f10aaf613cd3032cc2a2c6e3ff9) (From OE-Core rev: 32904037728bf4d26cbada18ee71e62569ee2cfd) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
0 files changed, 0 insertions, 0 deletions