[PATCH] olpc.fth - grow the root filesystem partition on boot

James Cameron quozl at laptop.org
Wed Mar 14 18:04:15 EDT 2012


On Wed, Mar 14, 2012 at 08:37:23AM -0600, Daniel Drake wrote:
> On Wed, Mar 14, 2012 at 7:06 AM, Richard Smith <richard at laptop.org> wrote:
> > On Wed, Mar 14, 2012 at 1:35 AM, James Cameron <quozl at laptop.org> wrote:
> >> Grows the second partition so that it takes up all remaining space on
> >> the eMMC or microSD card. ?Fix for #11690. ?Part of #10040.
> >>
> >> Costs 120ms. ?(Use of a flag file costs 130ms).
> >>
> >
> > I don't think its necessary to do this check every boot. I propose you
> > move it to after fs-update has installed an image.
> 
> Also, olpc.fth isn't executed in the secure boot path, so it does need
> to be put somewhere else. I like Richard's suggestion.

This would break fs-verify, and is therefore unacceptable.

-- 
James Cameron
http://quozl.linux.org.au/



More information about the Devel mailing list