[meta-freescale] [meta-fsl-arm][PATCH V2] Add compression method to apply to SDCARD

Otavio Salvador otavio at ossystems.com.br
Tue Dec 9 10:39:36 PST 2014


On Mon, Dec 1, 2014 at 1:38 PM, info <info at embexus.com> wrote:
>  Add compression method to apply to SDCARD after it has been created.
>  Supported formats are "gzip", "bzip2" or "xz". The original .sdcard file is
> kept and a new
>  compressed file is created if one of these compression formats is chosen.
>  SDCARD_COMPRESSION can be defined in local.conf and only one compression
> method among the supported formats can be set.
>  If SDCARD_COMPRESSION is set to any other value it is silently ignored.
>
>
> Signed-off-by: embexus <info at embexus.com>

I was checking this patch but it seems not required.

If we change the 'sdcard' to 'sdcard.bz2' in IMAGE_FSTYPES it just works.

Using:

IMAGE_FSTYPES = "tar.bz2 ext3 sdcard.gz"

I got:

otavio at centrium ~/src/ossystems/yocto/build % ls
tmp/deploy/images/imx6qsabresd -l
total 26544
...
-rw-r--r-- 1 otavio otavio  7438938 Dec  9 16:32
core-image-minimal-imx6qsabresd-20141209182116.rootfs.sdcard.gz
...

So this patch is not required.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list