[ptxdist] [PATCH 4/4] ptxdist: add --update-checksum option

Philipp Zabel
2026-04-27T14:29:16Z

Add an --update-checksum option as alias for --update-md5, now that
multiple hash algorithms are supported.

Keep --update-md5 for backwards compatibility.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
bin/ptxdist | 1 +
1 file changed, 1 insertion(+)

diff --git a/bin/ptxdist b/bin/ptxdist
index 383b7fc06c87..fbc5d01cee41 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -1177,6 +1177,7 @@ parse_first()
# overwrite default from ptxdistrc
export PTXCONF_SETUP_PATCHIN_GIT=y
;;
+ --update-checksum)
--update-md5)
# overwrite default from ptxdistrc
export PTXCONF_SETUP_CHECK="update"
--
2.47.3