[openwrt/openwrt] opkg: purge package from cache on hash mismatch

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 25 03:18:56 EST 2020


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7c114f33dd8c6eea5cebe6cf524f4e16154b623c

commit 7c114f33dd8c6eea5cebe6cf524f4e16154b623c
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Tue Nov 24 22:06:37 2020 -1000

    opkg: purge package from cache on hash mismatch
    
    61b3c62 opkg_verify_integrity: better logging and error conditions
    f73d42f download: purge cached packages that have incorrect checksum
    1c1480e download: factor out the logic for building cache filenames
    293b1ce libopkg: factor out checksum and size verification
    a786e25 download: remove compatibility with old cache naming scheme
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 package/system/opkg/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
index 79e2932042..eb9543c4ea 100644
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=opkg
-PKG_RELEASE:=2
+PKG_RELEASE:=1
 PKG_FLAGS:=essential
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://git.openwrt.org/project/opkg-lede.git
-PKG_SOURCE_DATE:=2020-11-03
-PKG_SOURCE_VERSION:=da9746aaa28fdc63a6e062bf00b25eba52bc8e5f
-PKG_MIRROR_HASH:=9c42a8f7dbce4d50b01c3cd10e1974611ffdd9547c27f8f5725b6237433f54e2
+PKG_SOURCE_DATE:=2020-11-24
+PKG_SOURCE_VERSION:=61b3c62d1c0dbbdcee2d67f56fb112f0af80527a
+PKG_MIRROR_HASH:=4237d525104ba4369a281d71b96307410d592e2aaa6d689306bf7d948def951b
 
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=COPYING



More information about the lede-commits mailing list