[OE-core] [PATCH] u-boot-fw-utils: install config file

Tom Rini trini at ti.com
Thu Jun 26 12:27:00 UTC 2014


On Wed, Jun 25, 2014 at 11:13:59AM +0200, Maxin B. John wrote:
> From: "Maxin B. John" <maxin.john at enea.com>
> 
> The on-target fw_printenv and fw_setenv needs configuration file
> (fw_env.config) to be present in the target.
> 
> Signed-off-by: Maxin B. John <maxin.john at enea.com>
> ---
>  meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
> index 14b0976..89fed8b 100644
> --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb
> @@ -26,8 +26,10 @@ do_compile () {
>  
>  do_install () {
>    install -d ${D}${base_sbindir}
> +  install -d ${D}${sysconfdir}
>    install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
>    install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
> +  install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config
>  }
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"

We should really provide some way for the BSP to provide a functional
fw_env.config file as the one in the sources is mainly an example and
unlikely to work on most systems.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140626/388ba5a5/attachment-0002.sig>


More information about the Openembedded-core mailing list