Re: [PATCH 2/3] envfs: add command_abi_version support

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

 



On 14:56 Tue 23 Oct     , Sascha Hauer wrote:
> On Tue, Oct 23, 2012 at 12:20:59PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > 
> > > We may have to introduce min/max, I'm not sure on that.
> > no if your env is compatible with more recent but back compatible too
> > 
> > as you do this with the example of mount update I did recently
> > 
> > if [ $command_abi_version -lt 1 ]
> > then
> > 	mount /dev/disk0.0 fat /mnt
> > else
> > 	mount /dev/disk0.0 /mnt
> > fi
> 
> That is going to be *very* painful.
no the idea is to allow it for external script or if we want to load an env
for multiple version of barebox

remote udpate
or boot script store on a usb key or mmc and that can be used on different
version of barebox because in production we use different version of barebox
in the life time of the product

env generate by barebox are for the current version

Best Regards,
J.

_______________________________________________
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