* [ptxdist] [PATCH v2] util-linux: add support for enabling the findmnt command
@ 2025-04-28 5:42 Leonard Göhrs
2025-05-14 6:07 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Leonard Göhrs @ 2025-04-28 5:42 UTC (permalink / raw)
To: ptxdist; +Cc: Leonard Göhrs
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
rules/util-linux.in | 6 ++++++
rules/util-linux.make | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/rules/util-linux.in b/rules/util-linux.in
index 3effecd72..1118c7033 100644
--- a/rules/util-linux.in
+++ b/rules/util-linux.in
@@ -94,6 +94,12 @@ config UTIL_LINUX_FDISK
comment "BusyBox' fdisk is selected!"
depends on BUSYBOX_FDISK
+config UTIL_LINUX_FINDMNT
+ bool
+ prompt "findmnt"
+ help
+ findmnt - Find a mounted device from its mountpoint and vise versa
+
config UTIL_LINUX_FSCK
bool
prompt "fsck"
diff --git a/rules/util-linux.make b/rules/util-linux.make
index c1152257d..cebaf9c45 100644
--- a/rules/util-linux.make
+++ b/rules/util-linux.make
@@ -78,7 +78,7 @@ UTIL_LINUX_CONF_OPT := \
-Dbuild-fdformat=disabled \
-Dbuild-fdisks=$(call ptx/endis, PTXCONF_UTIL_LINUX_FDISKS)d \
-Dbuild-findfs=$(call ptx/endis, PTXCONF_UTIL_LINUX_FINDFS)d \
- -Dbuild-findmnt=disabled \
+ -Dbuild-findmnt=$(call ptx/endis, PTXCONF_UTIL_LINUX_FINDMNT)d \
-Dbuild-flock=$(call ptx/endis, PTXCONF_UTIL_LINUX_FLOCK)d \
-Dbuild-fsck=$(call ptx/endis, PTXCONF_UTIL_LINUX_FSCK)d \
-Dbuild-fsfreeze=$(call ptx/endis, PTXCONF_UTIL_LINUX_FSFREEZE)d \
@@ -233,6 +233,7 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SULOGIN) += sbin/sulogin
# misc-utils
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_BLKID) += sbin/blkid
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDFS) += sbin/findfs
+UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDMNT) += bin/findmnt
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_GETOPT) += bin/getopt
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSBLK) += bin/lsblk
UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MCOOKIE) += bin/mcookie
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] util-linux: add support for enabling the findmnt command
2025-04-28 5:42 [ptxdist] [PATCH v2] util-linux: add support for enabling the findmnt command Leonard Göhrs
@ 2025-05-14 6:07 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-05-14 6:07 UTC (permalink / raw)
To: ptxdist; +Cc: Leonard Göhrs
Thanks, applied as f64a42bc82ec735d79cb06e0d21758484857a125.
Michael
[sent from post-receive hook]
On Wed, 14 May 2025 08:07:35 +0200, Leonard Göhrs <l.goehrs@pengutronix.de> wrote:
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
> Message-Id: <20250428054246.1693430-1-l.goehrs@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/util-linux.in b/rules/util-linux.in
> index 3effecd72a9b..1118c7033f98 100644
> --- a/rules/util-linux.in
> +++ b/rules/util-linux.in
> @@ -94,6 +94,12 @@ config UTIL_LINUX_FDISK
> comment "BusyBox' fdisk is selected!"
> depends on BUSYBOX_FDISK
>
> +config UTIL_LINUX_FINDMNT
> + bool
> + prompt "findmnt"
> + help
> + findmnt - Find a mounted device from its mountpoint and vise versa
> +
> config UTIL_LINUX_FSCK
> bool
> prompt "fsck"
> diff --git a/rules/util-linux.make b/rules/util-linux.make
> index c1152257dd6f..cebaf9c45db6 100644
> --- a/rules/util-linux.make
> +++ b/rules/util-linux.make
> @@ -78,7 +78,7 @@ UTIL_LINUX_CONF_OPT := \
> -Dbuild-fdformat=disabled \
> -Dbuild-fdisks=$(call ptx/endis, PTXCONF_UTIL_LINUX_FDISKS)d \
> -Dbuild-findfs=$(call ptx/endis, PTXCONF_UTIL_LINUX_FINDFS)d \
> - -Dbuild-findmnt=disabled \
> + -Dbuild-findmnt=$(call ptx/endis, PTXCONF_UTIL_LINUX_FINDMNT)d \
> -Dbuild-flock=$(call ptx/endis, PTXCONF_UTIL_LINUX_FLOCK)d \
> -Dbuild-fsck=$(call ptx/endis, PTXCONF_UTIL_LINUX_FSCK)d \
> -Dbuild-fsfreeze=$(call ptx/endis, PTXCONF_UTIL_LINUX_FSFREEZE)d \
> @@ -233,6 +233,7 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SULOGIN) += sbin/sulogin
> # misc-utils
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_BLKID) += sbin/blkid
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDFS) += sbin/findfs
> +UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDMNT) += bin/findmnt
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_GETOPT) += bin/getopt
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSBLK) += bin/lsblk
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MCOOKIE) += bin/mcookie
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-14 6:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-28 5:42 [ptxdist] [PATCH v2] util-linux: add support for enabling the findmnt command Leonard Göhrs
2025-05-14 6:07 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox