From: Steven Barth Date: Wed, 2 Oct 2013 16:38:28 +0000 (+0000) Subject: package/index: fix index creating when building without signing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=03b0c3b5a6f8c032ba10e1e1193eed1145a996c4;p=openwrt%2Fstaging%2Frmilecki.git package/index: fix index creating when building without signing Signed-off-by: Alexander Couzens SVN-Revision: 38287 --- diff --git a/package/Makefile b/package/Makefile index bac7001c4f6..f82654cf900 100644 --- a/package/Makefile +++ b/package/Makefile @@ -130,16 +130,16 @@ ifndef CONFIG_OPKGSMIME_PASSPHRASE endif $(curdir)/index: FORCE + @echo Generating package index... + @(cd $(PACKAGE_DIR); \ + $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ + gzip -9c Packages > Packages.gz ) ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_KEY)),) @echo Signing key has not been configured else ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_CERT)),) @echo Certificate has not been configured else - @echo Generating package index... - @(cd $(PACKAGE_DIR); \ - $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ - gzip -9c Packages > Packages.gz ) @echo Signing package index... @(cd $(PACKAGE_DIR); \ openssl smime -binary -in Packages.gz \