From 5538b4df7fdc3c184110880bb323f074dc4a6bee Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Wed, 13 Dec 2017 14:30:30 +0100 Subject: [PATCH] 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 --- package/base-files/Makefile | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2