package/index: fix index creating when building without signing
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 38287
This commit is contained in:
parent
95e9c260bc
commit
03b0c3b5a6
1 changed files with 4 additions and 4 deletions
|
@ -130,16 +130,16 @@ ifndef CONFIG_OPKGSMIME_PASSPHRASE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(curdir)/index: FORCE
|
$(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)),)
|
ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_KEY)),)
|
||||||
@echo Signing key has not been configured
|
@echo Signing key has not been configured
|
||||||
else
|
else
|
||||||
ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_CERT)),)
|
ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_CERT)),)
|
||||||
@echo Certificate has not been configured
|
@echo Certificate has not been configured
|
||||||
else
|
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...
|
@echo Signing package index...
|
||||||
@(cd $(PACKAGE_DIR); \
|
@(cd $(PACKAGE_DIR); \
|
||||||
openssl smime -binary -in Packages.gz \
|
openssl smime -binary -in Packages.gz \
|
||||||
|
|
Loading…
Reference in a new issue