[meta-freescale] [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES
Create SOC_DEFAULT_IMAGE_FSTYPES variable with default IMAGE_FSTYPES used by all QorIQ targets. Default FSTYPES are tar.gz and ext2.u-boot. The IMAGE_FSTYPES need to be overriden without using the SoC family overrides, for user-friendness, and to allow this we need to use a SoC variable to construct the default value for setting. Signed-off-by: Fabio Berton --- conf/machine/include/qoriq-base.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc index 7360a75..5346811 100644 --- a/conf/machine/include/qoriq-base.inc +++ b/conf/machine/include/qoriq-base.inc @@ -11,6 +11,9 @@ PREFERRED_VERSION_testfloat = "2a" IMAGE_CLASSES += "image_types_uboot" +SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.u-boot" +IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" + MACHINE_FEATURES ?= "pci ext2 ext3 serial" MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-modules" -- 2.1.4 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES
Hi Fabio, > -Original Message- > From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale- > boun...@yoctoproject.org] On Behalf Of Fabio Berton > Sent: Friday, October 07, 2016 5:19 AM > > diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq- > base.inc > index 7360a75..5346811 100644 > --- a/conf/machine/include/qoriq-base.inc > +++ b/conf/machine/include/qoriq-base.inc > @@ -11,6 +11,9 @@ PREFERRED_VERSION_testfloat = "2a" > > IMAGE_CLASSES += "image_types_uboot" > > +SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.u-boot" [Zhenhua Luo] Please replace "ext2.u-boot" with "ext2.gz ext2.gz.u-boot", the two rootfs type is commonly used by QorIQ targets. Best Regards, Zhenhua -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES
Hi Zhenhua, Thanks for reviewed, I'll send a v2 with fstypes changes. Fabio On Sat, Oct 8, 2016 at 12:04 AM, Zhenhua Luo wrote: > Hi Fabio, > > > -Original Message- > > From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale- > > boun...@yoctoproject.org] On Behalf Of Fabio Berton > > Sent: Friday, October 07, 2016 5:19 AM > > > > diff --git a/conf/machine/include/qoriq-base.inc > b/conf/machine/include/qoriq- > > base.inc > > index 7360a75..5346811 100644 > > --- a/conf/machine/include/qoriq-base.inc > > +++ b/conf/machine/include/qoriq-base.inc > > @@ -11,6 +11,9 @@ PREFERRED_VERSION_testfloat = "2a" > > > > IMAGE_CLASSES += "image_types_uboot" > > > > +SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.u-boot" > [Zhenhua Luo] Please replace "ext2.u-boot" with "ext2.gz ext2.gz.u-boot", > the two rootfs type is commonly used by QorIQ targets. > > > Best Regards, > > Zhenhua > -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale