[PATCH 3/7] defaultenv: switch hostname to global.hostname

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Sep 12 11:35:39 EDT 2012


On 17:31 Wed 12 Sep     , Sascha Hauer wrote:
> On Wed, Sep 12, 2012 at 04:48:24PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > 
> > diff --git a/arch/arm/boards/eukrea_cpuimx25/env/config b/arch/arm/boards/eukrea_cpuimx25/env/config
> > index b6bf93f..9c70988 100644
> > --- a/arch/arm/boards/eukrea_cpuimx25/env/config
> > +++ b/arch/arm/boards/eukrea_cpuimx25/env/config
> > @@ -24,16 +24,16 @@ rootfs_loc=nand
> >  
> >  # rootfs
> >  rootfs_type=ubifs
> > -rootfsimage=$hostname/rootfs.$rootfs_type
> > +rootfsimage=${global.hostname}/rootfs.$rootfs_type
> 
> This fixes all cases where global.hostname is read, but not where it's
> set, i.e.
> 
> hostname=eukrea-cpuimx25
yeap found it I send the v2

Best Regards,
J.



More information about the barebox mailing list