diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-01 09:23:28 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-01 09:23:28 +0000 |
commit | 18a0b2664ff4bd13e34a92dd1b929e13c7c459d1 (patch) | |
tree | 76850d2e69822944ac2eaef7ebd5d11d033079b6 /package/uboot-envtools/Makefile | |
parent | 0c3fc1dfb164c04c56b2c14df363021078b87a3f (diff) |
package/uboot-envtools: generate config-file from UCI
This adds an init-script for generating /etc/fw_env.config from UCI in
case it doesn't exist yet.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28697 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-envtools/Makefile')
-rw-r--r-- | package/uboot-envtools/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/uboot-envtools/Makefile b/package/uboot-envtools/Makefile index 600697f146..19aebc215f 100644 --- a/package/uboot-envtools/Makefile +++ b/package/uboot-envtools/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uboot-envtools PKG_DISTNAME:=u-boot PKG_VERSION:=2011.06 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot @@ -36,6 +36,8 @@ define Package/uboot-envtools/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/ ln -sf fw_printenv $(1)/usr/sbin/fw_setenv + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/uboot-envtools.init $(1)/etc/init.d/uboot-envtools endef define Build/Prepare |