]> code.ossystems Code Review - openembedded-core.git/commit
wic: rawcopy: Add support for packed images
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Mon, 14 Feb 2022 15:45:18 +0000 (16:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Feb 2022 09:40:40 +0000 (09:40 +0000)
commit4c97d25791389ece041565981ba3207ce9949a1a
tree50f85733ca939b624609861541b74758a026f7b9
parent052a9b0f7d2ee5c284cf1b4f1f45caed0489221a
wic: rawcopy: Add support for packed images

Add support for packed images to wic rawcopy handler do minimize disk
usage in deploy directory and reuse of packed images between wic and
swupdate. Add `unpack` to sourceparams to unpack an bz2, gz and xz
archives.

Example:
part / --source rawcopy --sourceparams="file=core-image-minimal-qemu.ext4.gz,unpack"

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/rawcopy.py