Re: [PATCH] defaultenv-2: add boot sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 04, 2013 at 09:56:32PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 09:20 Fri 22 Feb     , Sascha Hauer wrote:
> > From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>
> > 
> > This allows to boot a sequence of boot entries until one succeeds.
> > 
> > boot sources can be passed in $global.boot.default, which is now treated
> > as a list. Also a list of boot entries can be specified as arguments
> > to the boot script. The entries can be:
> > 
> > - a plain filename from /env/boot/
> > - a full path to an arbitrary file
> > - a directory containing boot entries
> > 
> > With this this command:
> > 
> > boot net nand-ubi /env/boot.d
> > 
> > would first use the /env/boot/net entry, if this fails the /env/boot/nand-ubi
> > entry and if this also fails the files from /env/boot.d/ (which could also
> > be links to boot scripts)
> > 
> > To make the above the default, global.boot.default would be specified as:
> > 
> > global.boot.default="net nand-ubi /env/boot.d"
> > 
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>
> > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> 
> ok can we have this on master?

Ok.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux