aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-12-13 14:30:30 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-12-13 14:46:37 +0100
commit5538b4df7fdc3c184110880bb323f074dc4a6bee (patch)
tree67805be1453ef724436effade1f143a834d80495
parent1cfbd50ff4d401023748c9834845898618e72221 (diff)
downloadupstream-5538b4df7fdc3c184110880bb323f074dc4a6bee.tar.gz
upstream-5538b4df7fdc3c184110880bb323f074dc4a6bee.tar.bz2
upstream-5538b4df7fdc3c184110880bb323f074dc4a6bee.zip
base-files: create /etc/opkg before generating distfeeds.conf
Ensure /etc/opkg exists before trying to write there. This fixes a build failure if SIGNED_PACKAGES is disabled. Reported-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
-rw-r--r--package/base-files/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 6e8ef58f21..2cf76b1b7c 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -190,6 +190,7 @@ define Package/base-files/install
echo -e "# Build configuration for board $(BOARD)/$(SUBTARGET)/$(PROFILE)\n" >$(1)/etc/build.config; \
cat $(BIN_DIR)/config.seed >>$(1)/etc/build.config)
+ mkdir -p $(1)/etc/opkg
$(call FeedSourcesAppend,$(1)/etc/opkg/distfeeds.conf)
$(VERSION_SED) $(1)/etc/opkg/distfeeds.conf
endef