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

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

 



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

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