[OE-core] [PATCH] image_types: Refactor compression code into a generic compression solution

Koen Kooi koen at dominion.thruhere.net
Tue Feb 28 20:19:01 UTC 2012


Op 27 feb. 2012, om 13:43 heeft Richard Purdie het volgende geschreven:

> The current approach of adding each different compressed image type doesn't
> scale. This patch changes the code so compressed images for each form are
> automatically available using the form <type>.<compression type> in
> IMAGE_FSTYPES. This doesn't change any existing externally visible behaviour
> and the image generation process becomes more efficient as a result too.

There's a a few -f's missing in this patch, e.g. bz2 images now fail with:

bzip2: ERROR: Function failed: do_rootfs (see /OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-image-1.0-r0/temp/log.do_rootfs.3174 for further information)
Output file Angstrom-systemd-image-eglibc-ipk-v2012.02-core-beagleboard.rootfs.tar.bz2 already exists.

A quick look suggests at least bz2 and xz images can't get rebuilt.

regards,

Koen



More information about the Openembedded-core mailing list