[oe-commits] Maxin B. John : u-boot-fw-utils: install config file

git at git.openembedded.org git at git.openembedded.org
Wed Jun 25 12:52:39 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: b4cd268cf7506a521d7800112cb775bd49e1ef09
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b4cd268cf7506a521d7800112cb775bd49e1ef09

Author: Maxin B. John <maxin.john at enea.com>
Date:   Wed Jun 25 11:13:59 2014 +0200

u-boot-fw-utils: install config file

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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}"



More information about the Openembedded-commits mailing list