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

Ayoub Zaki ayoub.zaki at googlemail.com
Fri Feb 27 08:04:12 PST 2015


hello,

I want also to get a compressed sdcard image out of the Build, following
with you suggestion by setting :

IMAGE_FSTYPES = "tar.bz2 ext3 sdcard.gz"

I get in the fac an *-image.rootfs.sdcard.bz2 but this image is missing the
rootfilesystem and wont' work please check image_types_fsl.bbclass
something should be wrong there.


2014-12-09 19:39 GMT+01:00 Otavio Salvador <otavio at ossystems.com.br>:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150227/7621cae3/attachment.html>


More information about the meta-freescale mailing list