From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 14 May 2025 08:07:59 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uF5Hb-005PL0-0v for lore@lore.pengutronix.de; Wed, 14 May 2025 08:07:59 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uF5Ha-0005Vc-Dh; Wed, 14 May 2025 08:07:58 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uF5HE-0004he-0n; Wed, 14 May 2025 08:07:36 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uF5HD-002f9f-1H; Wed, 14 May 2025 08:07:35 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uF5HD-0025mA-2Y; Wed, 14 May 2025 08:07:35 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 14 May 2025 08:07:35 +0200 Message-Id: <20250514060735.498851-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250428054246.1693430-1-l.goehrs@pengutronix.de> References: <20250428054246.1693430-1-l.goehrs@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] util-linux: add support for enabling the findmnt command X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Leonard=20G=C3=B6hrs?= Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as f64a42bc82ec735d79cb06e0d21758484857a125. Michael [sent from post-receive hook] On Wed, 14 May 2025 08:07:35 +0200, Leonard Göhrs wrote: > Signed-off-by: Leonard Göhrs > Message-Id: <20250428054246.1693430-1-l.goehrs@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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