From: Jonas Gorski Date: Wed, 13 Dec 2017 13:30:30 +0000 (+0100) Subject: base-files: create /etc/opkg before generating distfeeds.conf X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5538b4df7fdc3c184110880bb323f074dc4a6bee;p=librecmc%2Flibrecmc.git 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 Signed-off-by: Jonas Gorski --- 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