mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:19:23 +02:00
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33265 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a67ed5995a
commit
bff76b4e0e
@ -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),)
|
||||
|
Loading…
Reference in New Issue
Block a user