[PATCH 5/5] defaultenv-2: add boot sequence
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sat Sep 1 08:49:55 EDT 2012
On 10:26 Tue 28 Aug , Sascha Hauer wrote:
> On Fri, Aug 24, 2012 at 06:55:13AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Boot will boot run sequentially the script in /env/boot.d
> >
> > if not global.boot.defaul or global.boot.defaul == seq
> > start the boot sequence
> >
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > ---
> > defaultenv-2/base/bin/boot | 52 ++++++++++++++++++++++++++++++++++++----
> > defaultenv-2/base/init/general | 2 +-
> > 2 files changed, 48 insertions(+), 6 deletions(-)
> >
> > diff --git a/defaultenv-2/base/bin/boot b/defaultenv-2/base/bin/boot
> > index 103eb87..ade555d 100644
> > --- a/defaultenv-2/base/bin/boot
> > +++ b/defaultenv-2/base/bin/boot
> > @@ -2,20 +2,39 @@
> >
> > verbose=
> > dryrun=
> > +sequence=
> >
> > usage="
> > $0 [OPTIONS] [source]\n
> > -v verbose\n
> > -d dryrun\n
> > -l list boot sources\n
> > + -s start boot sequence in /env/boot.d/\n
>
> I think there should not be a dedicated option for this. Instead, it
> should by default start the boot sequence. global.boot.default could
> then be dropped.
I was thinking about it too
Best Regards,
J.
More information about the barebox
mailing list