From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Jul 2026 08:04:39 +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 1wfX0x-00CW5K-2b for lore@lore.pengutronix.de; Fri, 03 Jul 2026 08:04:39 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wfX0x-0004d2-MY; Fri, 03 Jul 2026 08:04:39 +0200 Received: from mx1.white.stw.pengutronix.de ([185.203.200.13]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wfX0r-0004OK-A4; Fri, 03 Jul 2026 08:04:33 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 7220E200807; Fri, 03 Jul 2026 08:04:32 +0200 (CEST) Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) 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 1wfX0q-005rir-1E; Fri, 03 Jul 2026 08:04:32 +0200 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wfX0q-0000000FrYJ-1DEu; Fri, 03 Jul 2026 08:04:32 +0200 Date: Fri, 3 Jul 2026 08:04:32 +0200 From: Michael Olbrich To: Sven =?utf-8?Q?P=C3=BCschel?= Message-ID: Mail-Followup-To: Sven =?utf-8?Q?P=C3=BCschel?= , ptxdist@pengutronix.de References: <20260630160303.2174761-1-s.pueschel@pengutronix.de> <20260630160303.2174761-2-s.pueschel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260630160303.2174761-2-s.pueschel@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH 2/2] lvm2: add option for libdevmapper-event.so 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: ptxdist@pengutronix.de 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 On Tue, Jun 30, 2026 at 06:01:57PM +0200, Sven Püschel wrote: > Add an option for libdevmapper-event.so, as it's not required by > dmsetup. This allows omitting the library, if it's not being used by > any other application on the system. > > Signed-off-by: Sven Püschel > --- > rules/lvm2.in | 6 ++++++ > rules/lvm2.make | 3 +++ > 2 files changed, 9 insertions(+) > > diff --git a/rules/lvm2.in b/rules/lvm2.in > index dc1724ecc..71d1c0c94 100644 > --- a/rules/lvm2.in > +++ b/rules/lvm2.in > @@ -19,6 +19,7 @@ config LVM2_LVM_TOOLS > bool > default y > select LIBAIO > + select LVM2_LIBDEVMAPPER_EVENT > prompt "install lvm tools" > help > If disabled, only dmsetup and the dm-mapper library are installed. > @@ -33,6 +34,11 @@ config LVM2_STARTSCRIPT > > endif > > +config LVM2_LIBDEVMAPPER_EVENT > + bool > + default n This line is redundant. Just remove it. Michael > + prompt "install libdevmapper-event.so" > + > config LVM2_DEVICE_UID > int > default 0 > diff --git a/rules/lvm2.make b/rules/lvm2.make > index d45c89356..57773a1f7 100644 > --- a/rules/lvm2.make > +++ b/rules/lvm2.make > @@ -163,7 +163,10 @@ ifdef PTXCONF_LVM2_LVM_TOOLS > endif > > @$(call install_lib, lvm2, 0, 0, 0644, libdevmapper) > + > +ifdef PTXCONF_LVM2_LIBDEVMAPPER_EVENT > @$(call install_lib, lvm2, 0, 0, 0644, libdevmapper-event) > +endif > > ifdef PTXCONF_LVM2_STARTSCRIPT > @$(call install_alternative, lvm2, 0, 0, 0755, /etc/init.d/lvm2) > -- > 2.47.3 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |