Updated & tested. Works just fine. Tested both kernels.
Here is the patch: 
http://lists.openembedded.org/pipermail/openembedded-core/2015-March/102930.html


> -----Original Message-----
> From: Darren Hart [mailto:dvh...@linux.intel.com]
> Sent: Thursday, March 19, 2015 5:43 PM
> To: Ashfield, Bruce (Wind River); Linux Yocto
> Cc: Richard Purdie; Saul Wold; Bartosh, Eduard
> Subject: Re: [PATCH][meta][dev][3.19][3.14] tiny.cfg: Enable BINFMT_SCRIPT
> 
> Ed,
> 
> Would you update the SRC_REVs, test the final result, and submit the
> patches?
> 
> (I only just swooped in here for an hour yesterday, so if the above is
> inconsistent with what RP has been asking, please defer to him. I'm asking Ed
> because if it is dependent on me it won't get done until EOD tomorrow.)
> 
> --
> Darren
> 
> On 3/18/15, 10:08 PM, "Bruce Ashfield" <bruce.ashfi...@windriver.com>
> wrote:
> 
> >On 03/18/2015 01:57 PM, Darren Hart wrote:
> >> Tiny kernels currently fail to run /init from tiny-init, a #!/bin/sh
> >> script as the kernel is missing BINFMT_SCRIPT. Add this to the
> >> tiny.cfg fragment.
> >
> >Thanks! Merged to 3.19 and 3.14 meta branches. Update your SRCREVs
> >appropriately, and I'll do a full linux-yocto update shortly as well.
> >
> >Bruce
> >
> >>
> >> Developed on 3.19, applied and verified on 3.14.
> >>
> >> Signed-off-by: Darren Hart <dvh...@linux.intel.com>
> >> Cc: Richard Purdie <richard.pur...@linuxfoundation.org>
> >> Cc: Saul Wold <s...@linux.intel.com>
> >> Cc: Eduard Bartosh <eduard.bart...@intel.com>
> >> ---
> >>
> >>   meta/cfg/kernel-cache/ktypes/tiny/tiny.cfg | 3 +++
> >>   1 file changed, 3 insertions(+)
> >>
> >> diff --git a/meta/cfg/kernel-cache/ktypes/tiny/tiny.cfg
> >>b/meta/cfg/kernel-cache/ktypes/tiny/tiny.cfg
> >> index 7c06aa4..299e9be 100644
> >> --- a/meta/cfg/kernel-cache/ktypes/tiny/tiny.cfg
> >> +++ b/meta/cfg/kernel-cache/ktypes/tiny/tiny.cfg
> >> @@ -26,3 +26,6 @@ CONFIG_BLK_DEV_RAM=y
> >>   CONFIG_BLK_DEV_RAM_COUNT=1
> >>   CONFIG_BLK_DEV_RAM_SIZE=6144
> >>   CONFIG_RD_GZIP=y
> >> +
> >> +# Support /init as a script and #!/bin/sh in general
> >> +CONFIG_BINFMT_SCRIPT=y
> >>
> >
> >
> 
> 
> --
> Darren Hart
> Intel Open Source Technology Center
> 
> 

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to