mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Leonard Göhrs" <l.goehrs@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Leonard Göhrs" <l.goehrs@pengutronix.de>
Subject: [ptxdist] [PATCH] util-linux: add support for enabling the findmnt command
Date: Wed,  9 Apr 2025 13:46:56 +0200	[thread overview]
Message-ID: <20250409114656.3602498-1-l.goehrs@pengutronix.de> (raw)

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
 rules/util-linux.in   | 6 ++++++
 rules/util-linux.make | 2 +-
 2 files changed, 7 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..3f4213070 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 \
-- 
2.39.5




                 reply	other threads:[~2025-04-09 11:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20250409114656.3602498-1-l.goehrs@pengutronix.de \
    --to=l.goehrs@pengutronix.de \
    --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