[openwrt/openwrt] apk: limit CONFIG_IPK_FILES_CHECKSUMS config to OPKG

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 20 03:33:53 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2499c10d327beeb5421285ec07cb92b1dec3a5d7

commit 2499c10d327beeb5421285ec07cb92b1dec3a5d7
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Thu Jun 20 05:51:07 2024 +0200

    apk: limit CONFIG_IPK_FILES_CHECKSUMS config to OPKG
    
    Limit CONFIG_IPK_FILES_CHECKSUMS config to OPKG as APK have different
    way to validate package integrity (apk audit)
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 config/Config-build.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/Config-build.in b/config/Config-build.in
index fbeaf89fcd..02931a87c6 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -114,6 +114,7 @@ menu "Global build settings"
 	config IPK_FILES_CHECKSUMS
 		bool
 		prompt "Record files checksums in package metadata"
+		depends on !USE_APK
 		help
 		  This makes file checksums part of package metadata. It increases size
 		  but provides you with pkg_check command to check for flash corruptions.




More information about the lede-commits mailing list