Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/pkg-utils: add 'hash_files' to show-info
@ 2024-05-28 15:29 Brandon Maier via buildroot
  2024-07-13 17:10 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Brandon Maier via buildroot @ 2024-05-28 15:29 UTC (permalink / raw)
  To: buildroot; +Cc: Brandon Maier

Signed-off-by: Brandon Maier <brandon.maier@collins.com>
---
 package/pkg-utils.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk
index d1964299af..8970a2a8b9 100644
--- a/package/pkg-utils.mk
+++ b/package/pkg-utils.mk
@@ -176,6 +176,13 @@ define _json-info-pkg-details
 		},
 	)
 	],
+	"hash_files": [
+		$(foreach f, $($(1)_HASH_FILES),$(call mk-json-str,$(f))$(comma))
+	],
+	"no_check_hash_for": \
+		$(if $(BR2_DOWNLOAD_FORCE_CHECK_HASHES), \
+			false, \
+			$(if $(filter $($(1)_SOURCE),$(BR_NO_CHECK_HASH_FOR)),true,false)),
 endef
 
 define _json-info-fs
-- 
2.45.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-13 20:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 15:29 [Buildroot] [PATCH] package/pkg-utils: add 'hash_files' to show-info Brandon Maier via buildroot
2024-07-13 17:10 ` Thomas Petazzoni via buildroot
2024-07-13 20:12   ` Brandon Maier via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox