diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-12-13 14:30:30 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-12-13 14:46:37 +0100 |
commit | 5538b4df7fdc3c184110880bb323f074dc4a6bee (patch) | |
tree | 67805be1453ef724436effade1f143a834d80495 /package | |
parent | 1cfbd50ff4d401023748c9834845898618e72221 (diff) | |
download | upstream-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>
Diffstat (limited to 'package')
-rw-r--r-- | package/base-files/Makefile | 1 |
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 |