base-files: move apk distfeeds into directory
Analog to how we handle distfeeds with opkg, have the base feeds defined in a file in repositories.d instead of the base /etc/apk/repositories. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16940 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
8f6972df36
commit
e031dab93e
|
@ -250,9 +250,9 @@ endif
|
||||||
rm -f $(1)/etc/banner.failsafe,)
|
rm -f $(1)/etc/banner.failsafe,)
|
||||||
|
|
||||||
ifneq ($(CONFIG_USE_APK),)
|
ifneq ($(CONFIG_USE_APK),)
|
||||||
mkdir -p $(1)/etc/apk/
|
mkdir -p $(1)/etc/apk/repositories.d
|
||||||
$(call FeedSourcesAppendAPK,$(1)/etc/apk/repositories)
|
$(call FeedSourcesAppendAPK,$(1)/etc/apk/repositories.d/distfeeds.list)
|
||||||
$(VERSION_SED_SCRIPT) $(1)/etc/apk/repositories
|
$(VERSION_SED_SCRIPT) $(1)/etc/apk/repositories.d/distfeeds.list
|
||||||
|
|
||||||
rm -f $(1)/etc/uci-defaults/13_fix-group-user
|
rm -f $(1)/etc/uci-defaults/13_fix-group-user
|
||||||
rm -f $(1)/sbin/pkg_check
|
rm -f $(1)/sbin/pkg_check
|
||||||
|
|
Loading…
Reference in New Issue