[yocto] [PATCH V3 0/3] New distribution definition for poky-tiny

Darren Hart dvhart at linux.intel.com
Wed Dec 28 21:55:58 PST 2011



On 12/28/2011 05:07 PM, Leon Woestenberg wrote:
> Hello Darren,
> 
> 
> On Thu, Dec 29, 2011 at 12:45 AM, Darren Hart <dvhart at linux.intel.com
> <mailto:dvhart at linux.intel.com>> wrote:
> 
>     V3:
>        o Rebase on master
>        o Dependent on oe-core series "Fixes for tiny distros and
>     linux-yocto-tiny"
> 
>     RFC V2:
>        o Use VIRTUAL-RUNTIME_keymaps as suggested by Martin Jansa
>        o Drop poky-common abstraction as suggested by Richard Purdie in
>          favor of POKY_DEFAULT_EXTRA_R* variables.
> 
>     Poky-tiny defines a new distro policy for building tiny Linux
>     images.  Rather
> 
> 
> Such images are useful for small Linux firmwares, both often also
> require a read-only fs img.
> 
> Does this current image require write access at first boot?

I have done a readonly first-boot successfully, and as Chris points out,
it is one of the policy goals. That said, I have not yet looked to see
if there are some post-inst scripts which should be run. There isn't any
kind of init going on, and we'll need to decide how to best handle that
for poky-tiny. Right now I boot using an initramfs with root=/dev/ram0,
it reads an empty /init and falls back to /bin/sh - a more robust and
functional init is probably needed even for poky-tiny.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the yocto mailing list