From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] util-linux: Version bump. 2.38.1 -> 2.39
Date: Mon, 22 May 2023 18:21:50 +0200 [thread overview]
Message-ID: <20230522162151.1705798-1-christian.melki@t2data.com> (raw)
A substantial change.
https://github.com/util-linux/util-linux/blob/master/Documentation/releases/v2.39-ReleaseNotes
Probably the most significant bit is the new mount kernel fd api. Introduced around 5.17-ish?
I'd like to try it out, but force enable fails the build for kernels that don't have it.
So leaving libmount-mountfd-support at it's default check position for now.
Other than that it's a bunch of fixes and minor enhancements.
* Remove disable-libmount-support-mtab. That thing has gone dodo. Permanently.
* Introduce LSFD, LSNS and PIPESZ.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
rules/util-linux.in | 19 +++++++++++++++++++
rules/util-linux.make | 11 ++++++++---
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/rules/util-linux.in b/rules/util-linux.in
index 7b89ced68..5c0ccf058 100644
--- a/rules/util-linux.in
+++ b/rules/util-linux.in
@@ -399,12 +399,25 @@ config UTIL_LINUX_LSCPU
help
lscpu shows information about the CPU architecture
+config UTIL_LINUX_LSFD
+ bool
+ select UTIL_LINUX_LIBSMARTCOLS
+ prompt "lsfd"
+ help
+ lsfd is like lsof, but specialized for the Linux environment.
+
config UTIL_LINUX_LSIRQ
bool
prompt "lsirq"
help
lsirq is a tool to list kernel interrupt information.
+config UTIL_LINUX_LSNS
+ bool
+ prompt "lsns"
+ help
+ lsns is a tool to list namespace information.
+
config UTIL_LINUX_LSMEM
bool
prompt "lsmem"
@@ -412,6 +425,12 @@ config UTIL_LINUX_LSMEM
The lsmem command lists the ranges of available memory and
it's online status.
+config UTIL_LINUX_PIPESZ
+ bool
+ prompt "pipesz"
+ help
+ The pipesz command sets or examines pipe and fifo buffer sizes.
+
config UTIL_LINUX_MOUNT
bool
prompt "mount"
diff --git a/rules/util-linux.make b/rules/util-linux.make
index c0f2dab36..c47dfc286 100644
--- a/rules/util-linux.make
+++ b/rules/util-linux.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_UTIL_LINUX) += util-linux
#
# Paths and names
#
-UTIL_LINUX_VERSION := 2.38.1
-UTIL_LINUX_MD5 := cd11456f4ddd31f7fbfdd9488c0c0d02
+UTIL_LINUX_VERSION := 2.39
+UTIL_LINUX_MD5 := 16579e594a8ef2e6236b38b9ab36cccf
UTIL_LINUX := util-linux-$(UTIL_LINUX_VERSION)
UTIL_LINUX_SUFFIX := tar.xz
UTIL_LINUX_BASENAME := v$(if $(filter 2,$(basename $(UTIL_LINUX_VERSION))),$(UTIL_LINUX_VERSION),$(basename $(UTIL_LINUX_VERSION)))
@@ -72,7 +72,6 @@ UTIL_LINUX_CONF_OPT := \
--disable-libuuid-force-uuidd \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBBLKID)-libblkid \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBMOUNT)-libmount \
- --disable-libmount-support-mtab \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBSMARTCOLS)-libsmartcols \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBFDISK)-libfdisk \
$(call ptx/ifdef, PTXCONF_UTIL_LINUX_FDISKS,,--disable-fdisks) \
@@ -103,11 +102,13 @@ UTIL_LINUX_CONF_OPT := \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_FSTRIM)-fstrim \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_SWAPON)-swapon \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_LSCPU)-lscpu \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_LSFD)-lsfd \
--disable-lslogins \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_WDCTL)-wdctl \
--disable-cal \
--disable-logger \
--disable-whereis \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_PIPESZ)-pipesz \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_SWITCH_ROOT)-switch_root \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_PIVOT_ROOT)-pivot_root \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_LSMEM)-lsmem \
@@ -116,6 +117,7 @@ UTIL_LINUX_CONF_OPT := \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_IPCS)-ipcs \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_IRQTOP)-irqtop \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_LSIRQ)-lsirq \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_LSNS)-lsns \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_RFKILL)-rfkill \
--disable-scriptutils \
--disable-tunelp \
@@ -231,7 +233,9 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_IRQTOP) += bin/irqtop
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LDATTACH) += sbin/ldattach
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LOSETUP) += sbin/losetup
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSCPU) += bin/lscpu
+UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSFD) += bin/lsfd
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSIRQ) += bin/lsirq
+UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSNS) += bin/lsns
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSMEM) += bin/lsmem
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MOUNT) += bin/mount
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MOUNTPOINT) += bin/mountpoint
@@ -240,6 +244,7 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_PIVOT_ROOT) += sbin/pivot_root
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_READPROFILE) += sbin/readprofile
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_RFKILL) += sbin/rfkill
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SWAPON) += sbin/swapoff sbin/swapon
+UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_PIPESZ) += bin/pipesz
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SWITCH_ROOT) += sbin/switch_root
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_UMOUNT) += bin/umount
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_WDCTL) += bin/wdctl
--
2.34.1
next reply other threads:[~2023-05-22 16:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-22 16:21 Christian Melki [this message]
2023-05-22 16:21 ` [ptxdist] [PATCH 2/2] host-util-linux: Follw util-linux Christian Melki
2023-06-02 7:17 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-06-02 7:17 ` [ptxdist] [APPLIED] util-linux: Version bump. 2.38.1 -> 2.39 Michael Olbrich
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=20230522162151.1705798-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/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