X-Git-Url: https://git.archive.openwrt.org/?p=15.05%2Fopenwrt.git;a=blobdiff_plain;f=package%2Fsystem%2Fopkg%2FMakefile;h=d38ed5231472fc531d720e234db0e78d93a26aae;hp=d313c442ddb5fe46b676449dc7a03a747656e95f;hb=4d5ad6e0e5f870a6e4850c4ff6564267a10c5319;hpb=74a3730e75df6ae5d59074bdb0346085d7754cb9 diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile index d313c442dd..d38ed52314 100644 --- a/package/system/opkg/Makefile +++ b/package/system/opkg/Makefile @@ -112,9 +112,6 @@ define Package/opkg/Default/install $(INSTALL_DIR) $(1)/bin $(INSTALL_DIR) $(1)/etc $(INSTALL_DATA) ./files/opkg$(2).conf $(1)/etc/opkg.conf - ifneq ($(CONFIG_SIGNED_PACKAGES),) - echo "option check_signature 1" >> $(1)/etc/opkg.conf - endif $(call FeedSourcesAppend,$(1)/etc/opkg.conf) $(VERSION_SED) $(1)/etc/opkg.conf $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg @@ -122,6 +119,9 @@ endef define Package/opkg/install $(call Package/opkg/Default/install,$(1),) + ifneq ($(CONFIG_SIGNED_PACKAGES),) + echo "option check_signature 1" >> $(1)/etc/opkg.conf + endif mkdir $(1)/usr/sbin $(INSTALL_BIN) ./files/opkg-key $(1)/usr/sbin/ endef