mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
opkg: bump to latest git HEAD (#2914)
* opkg: bump to latest git HEAD Signed-off-by: CN_SZTL <cnsztl@gmail.com> * config: add option for opkg
This commit is contained in:
parent
35f4282816
commit
951a74ad69
@ -41,6 +41,10 @@ menu "Global build settings"
|
|||||||
bool "Cryptographically signed package lists"
|
bool "Cryptographically signed package lists"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SIGNATURE_CHECK
|
||||||
|
bool "Enable signature checking in opkg"
|
||||||
|
default SIGNED_PACKAGES
|
||||||
|
|
||||||
comment "General build options"
|
comment "General build options"
|
||||||
|
|
||||||
config DISPLAY_SUPPORT
|
config DISPLAY_SUPPORT
|
||||||
|
@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=opkg
|
PKG_NAME:=opkg
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=1
|
||||||
PKG_FLAGS:=essential
|
PKG_FLAGS:=essential
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://git.openwrt.org/project/opkg-lede.git
|
PKG_SOURCE_URL:=https://git.openwrt.org/project/opkg-lede.git
|
||||||
PKG_SOURCE_DATE:=2017-12-07
|
PKG_SOURCE_DATE:=2020-01-25
|
||||||
PKG_SOURCE_VERSION:=3b417b9f41b4ceb5912d82f867dd5534e5675b5c
|
PKG_SOURCE_VERSION:=c09fe2098718807ddbca13ee36e3e38801822946
|
||||||
PKG_MIRROR_HASH:=1c9c21e56186345d0034d15051c1d9c5ebb5aa6658d6ae8886d8403207a914a3
|
PKG_MIRROR_HASH:=b2fba519fb3bf2da2e325a33eee951b85c7c1886e48ebaac3892435a71ae33d5
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
@ -25,7 +25,7 @@ PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
|||||||
|
|
||||||
# Extend depends from version.mk
|
# Extend depends from version.mk
|
||||||
PKG_CONFIG_DEPENDS += \
|
PKG_CONFIG_DEPENDS += \
|
||||||
CONFIG_SIGNED_PACKAGES \
|
CONFIG_SIGNATURE_CHECK \
|
||||||
CONFIG_TARGET_INIT_PATH
|
CONFIG_TARGET_INIT_PATH
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
@ -88,7 +88,7 @@ define Package/opkg/install
|
|||||||
$(INSTALL_DATA) ./files/opkg$(2).conf $(1)/etc/opkg.conf
|
$(INSTALL_DATA) ./files/opkg$(2).conf $(1)/etc/opkg.conf
|
||||||
$(INSTALL_BIN) ./files/20_migrate-feeds $(1)/etc/uci-defaults/
|
$(INSTALL_BIN) ./files/20_migrate-feeds $(1)/etc/uci-defaults/
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/opkg-cl $(1)/bin/opkg
|
||||||
ifneq ($(CONFIG_SIGNED_PACKAGES),)
|
ifneq ($(CONFIG_SIGNATURE_CHECK),)
|
||||||
echo "option check_signature" >> $(1)/etc/opkg.conf
|
echo "option check_signature" >> $(1)/etc/opkg.conf
|
||||||
endif
|
endif
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
0
package/system/opkg/files/20_migrate-feeds
Normal file → Executable file
0
package/system/opkg/files/20_migrate-feeds
Normal file → Executable file
Loading…
Reference in New Issue
Block a user