[meta-freescale] [PATCH 2/5] imx-base.inc, mxs-base.inc: Stop generating tar.bz2 image tarball by default

Igor Grinberg grinberg at compulab.co.il
Thu Sep 24 01:49:13 PDT 2015


Hi Otavio,


On 09/22/15 15:46, Otavio Salvador wrote:
> The tar.bz2 is useful for people using NFS or generating the SD card
> image byhand, those can enable this in the board file or in the
> local.conf when needed. By the fault the SD card image should be the
> only image built as it is the most commonly used one for initial
> development.

It is also useful for uniform deployment, when you do not know which
storage is going to be used for rootfs. For example you can provide
the tar.bz2 for deployment on any device, e.g. NAND, SD card, mSATA...
Although it will require another form of deployment technique (not dd),
but I think it is still useful.

On the other hand, I agree that it can be enabled in the board file or
the local.conf.
So, you decide...

> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> 
>  conf/machine/include/imx-base.inc | 2 +-
>  conf/machine/include/mxs-base.inc | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
> index f54e9b7..d2075f1 100644
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -127,7 +127,7 @@ IMX_DEFAULT_KERNEL_mx6ul = "linux-imx"
>  PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
>  
>  SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
> -IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
> +IMAGE_FSTYPES ?= "ext3 sdcard"
>  
>  SERIAL_CONSOLE = "115200 ttymxc0"
>  
> diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
> index b32e926..38450be 100644
> --- a/conf/machine/include/mxs-base.inc
> +++ b/conf/machine/include/mxs-base.inc
> @@ -36,7 +36,7 @@ SERIAL_CONSOLE = "115200 ttyAMA0"
>  KERNEL_IMAGETYPE = "zImage"
>  
>  SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
> -IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
> +IMAGE_FSTYPES ?= "ext3 uboot.mxsboot-sdcard sdcard"
>  
>  # Add the ability to specify _imx machines
>  MACHINEOVERRIDES =. "imx:"
> 

-- 
Regards,
Igor.


More information about the meta-freescale mailing list