Changeset 42018


Ignore:
Timestamp:
2014-08-06T20:18:49+02:00 (3 years ago)
Author:
blogic
Message:

build: add new option to add disabled feeds commented out to opkg.conf

Signed-off-by: Jo-Philipp Wich <jow@…>

Backport of r42004

Location:
branches/barrier_breaker/package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/barrier_breaker/package/base-files/image-config.in

    r42016 r42018  
    217217                for the core packages and each enabled feed. 
    218218 
     219        config PER_FEED_REPO_ADD_DISABLED 
     220                bool "Add installed but disabled feeds to opkg.conf" 
     221                default y 
     222                depends on PER_FEED_REPO 
     223                help 
     224                  Add installed but disabled feeds as commented out source lines to opkg.conf. 
     225 
    219226source "tmp/.config-feeds.in" 
    220227 
  • branches/barrier_breaker/package/system/opkg/Makefile

    r42016 r42018  
    112112                echo "src/gz %n_$$$$d %U/$$$$d" >> $(1)/etc/opkg.conf; \ 
    113113        done 
     114    ifneq ($(CONFIG_PER_FEED_REPO_ADD_DISABLED),) 
     115        for d in $(FEEDS_DISABLED); do \ 
     116                echo "# src/gz %n_$$$$d %U/$$$$d" >> $(1)/etc/opkg.conf; \ 
     117        done 
     118    endif 
    114119  endif 
    115120        $(VERSION_SED) $(1)/etc/opkg.conf 
Note: See TracChangeset for help on using the changeset viewer.