[OpenWrt-Devel] [PATCH] package/index: fix index creating when building without signing

2013-10-02 Thread Alexander Couzens
Signed-off-by: Alexander Couzens lyn...@fe80.eu
---
 package/Makefile | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/Makefile b/package/Makefile
index bac7001..f82654c 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 . 21  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 . 21  Packages  \
-   gzip -9c Packages  Packages.gz )
@echo Signing package index...
@(cd $(PACKAGE_DIR); \
openssl smime -binary -in Packages.gz \
-- 
1.8.4
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] package/index: fix index creating when building without signing

2013-10-02 Thread Steven Barth

Sorry about the fuzz and thanks for the patch.
Applied in r38287.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel