From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>,
Christian Melki <christian.melki@t2data.com>
Subject: [ptxdist] [PATCH 1/2] util-linux: Switch back from git to tarball download
Date: Fri, 19 Jun 2026 09:47:43 +0200 [thread overview]
Message-ID: <20260619074744.1129667-2-ada@thorsis.com> (raw)
In-Reply-To: <20260619074744.1129667-1-ada@thorsis.com>
Meanwhile util-linux release process checks tarballs have all the
meson.build files required, and meson build from tarball succeeds.
Rolling back url related changes from commit c7f0ce7be8df ("util-linux:
Version bump. 2.39.3 -> 2.40"), which includes switching from tar.gz to
tar.xz, thus updating checksum. User might have some .tar.gz files from
git which are not equal to distributed .tar.gz files, but switching to
.tar.xz here should avoid checksum mismatches.
Allows for verifying tarballs against .tar.sign and comparing checksums
to other distributions again.
Link: https://github.com/util-linux/util-linux/issues/3460
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
rules/util-linux.make | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/rules/util-linux.make b/rules/util-linux.make
index f77666d7f..bf6817c2a 100644
--- a/rules/util-linux.make
+++ b/rules/util-linux.make
@@ -16,10 +16,11 @@ PACKAGES-$(PTXCONF_UTIL_LINUX) += util-linux
# Paths and names
#
UTIL_LINUX_VERSION := 2.42.1
-UTIL_LINUX_SHA256 := 138a3bd9049afa5eeeea73f1e9c0ed7bddf3e55ba4ec29924965a932ec738f01
+UTIL_LINUX_SHA256 := 82e9158eb12a9b0b569d84e1687fed9dd18fe89ccd8ef5ac3427218a7c0d7f7f
UTIL_LINUX := util-linux-$(UTIL_LINUX_VERSION)
-UTIL_LINUX_SUFFIX := tar.gz
-UTIL_LINUX_URL := https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/snapshot/$(UTIL_LINUX).$(UTIL_LINUX_SUFFIX)
+UTIL_LINUX_SUFFIX := tar.xz
+UTIL_LINUX_BASENAME := v$(if $(filter 2,$(basename $(UTIL_LINUX_VERSION))),$(UTIL_LINUX_VERSION),$(basename $(UTIL_LINUX_VERSION)))
+UTIL_LINUX_URL := $(call ptx/mirror, KERNEL, utils/util-linux/$(UTIL_LINUX_BASENAME)/$(UTIL_LINUX).$(UTIL_LINUX_SUFFIX))
UTIL_LINUX_SOURCE := $(SRCDIR)/$(UTIL_LINUX).$(UTIL_LINUX_SUFFIX)
UTIL_LINUX_DIR := $(BUILDDIR)/$(UTIL_LINUX)
UTIL_LINUX_LICENSE := GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND BSD-4-Clause AND MIT AND ISC AND public_domain
--
2.47.3
next prev parent reply other threads:[~2026-06-19 7:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-19 7:47 [ptxdist] [PATCH 0/2] util-linux: Switch back to tarball download and version bump to 2.42.2 Alexander Dahl via ptxdist
2026-06-19 7:47 ` Alexander Dahl via ptxdist [this message]
2026-06-19 7:47 ` [ptxdist] [PATCH 2/2] util-linux: version bump 2.42.1 -> 2.42.2 Alexander Dahl via ptxdist
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260619074744.1129667-2-ada@thorsis.com \
--to=ptxdist@pengutronix.de \
--cc=ada@thorsis.com \
--cc=christian.melki@t2data.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox