aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-23 14:27:36 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-23 14:27:36 +0000
commit9969f90f34372ac05c64445a06b1d4ccdd55c1a4 (patch)
tree02ef181ac0726952d79c0f89a76503a67d92c5f1 /package
parent773b33d7d2e88e209563a61e2de50dc16b1a946c (diff)
downloadupstream-9969f90f34372ac05c64445a06b1d4ccdd55c1a4.tar.gz
upstream-9969f90f34372ac05c64445a06b1d4ccdd55c1a4.tar.bz2
upstream-9969f90f34372ac05c64445a06b1d4ccdd55c1a4.zip
package/uboot-envtools: always install the fw_setenv symlink
It is required by sysupgrade on some boards, and it is only working if a suitable /etc/fw_env.config is present on the target board. If an user creates such configuration he/she should know that it is a dangerous tool. The devices can be bricked in several other ways anyway. SVN-Revision: 33265
Diffstat (limited to 'package')
-rw-r--r--package/uboot-envtools/Makefile15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/uboot-envtools/Makefile b/package/uboot-envtools/Makefile
index 8169840d9a..d8c1b20a24 100644
--- a/package/uboot-envtools/Makefile
+++ b/package/uboot-envtools/Makefile
@@ -29,19 +29,6 @@ define Package/uboot-envtools
MENU:=1
endef
-define Package/uboot-envtools/config
- menu "Configuration"
- depends on PACKAGE_uboot-envtools
-
- config PACKAGE_uboot-envtools_setenv_symlink
- bool "Create fw_setenv symlink"
- default n
- help
- With this option selected you will be able to edit U-Boot bootloader environment.
-
- endmenu
-endef
-
define Package/uboot-envtools/description
This package includes tools to read and modify U-Boot bootloader environment.
endef
@@ -60,9 +47,7 @@ endef
define Package/uboot-envtools/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin
-ifneq ($(CONFIG_PACKAGE_uboot-envtools_setenv_symlink),)
ln -s fw_printenv $(1)/usr/sbin/fw_setenv
-endif
$(INSTALL_DIR) $(1)/lib
$(INSTALL_DATA) ./files/uboot-envtools.sh $(1)/lib
ifneq ($(CONFIG_TARGET_ar71xx),)