Changeset 33265


Ignore:
Timestamp:
2012-08-23T16:27:36+02:00 (5 years ago)
Author:
juhosg
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/uboot-envtools/Makefile

    r32756 r33265  
    3030endef 
    3131 
    32 define Package/uboot-envtools/config 
    33         menu "Configuration" 
    34         depends on PACKAGE_uboot-envtools 
    35  
    36         config PACKAGE_uboot-envtools_setenv_symlink 
    37                 bool "Create fw_setenv symlink" 
    38                 default n 
    39                 help 
    40                 With this option selected you will be able to edit U-Boot bootloader environment. 
    41   
    42         endmenu 
    43 endef 
    44  
    4532define Package/uboot-envtools/description 
    4633 This package includes tools to read and modify U-Boot bootloader environment. 
     
    6148        $(INSTALL_DIR) $(1)/usr/sbin 
    6249        $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin 
    63 ifneq ($(CONFIG_PACKAGE_uboot-envtools_setenv_symlink),) 
    6450        ln -s fw_printenv $(1)/usr/sbin/fw_setenv 
    65 endif 
    6651        $(INSTALL_DIR) $(1)/lib 
    6752        $(INSTALL_DATA) ./files/uboot-envtools.sh $(1)/lib 
Note: See TracChangeset for help on using the changeset viewer.