From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 20 Jul 2021 13:52:33 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m5oIb-0002TF-Lm for lore@lore.pengutronix.de; Tue, 20 Jul 2021 13:52:33 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m5oIb-0007Qr-7K; Tue, 20 Jul 2021 13:52:33 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5oFS-0003HP-KR; Tue, 20 Jul 2021 13:49:18 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m5oFS-0002XB-3A; Tue, 20 Jul 2021 13:49:18 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m5oFS-00B2JJ-2j; Tue, 20 Jul 2021 13:49:18 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 20 Jul 2021 13:49:18 +0200 Message-Id: <20210720114918.2630382-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210715081808.3948-2-m.felsch@pengutronix.de> References: <20210715081808.3948-2-m.felsch@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] util-linux-ng: add pivot_root option 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: Marco Felsch Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 4129dc58d1bc6f075d5dff9fcf36981088106386. Michael [sent from post-receive hook] On Tue, 20 Jul 2021 13:49:17 +0200, Marco Felsch wrote: > Signed-off-by: Marco Felsch > Message-Id: <20210715081808.3948-2-m.felsch@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in > index e34d59a0d314..df493d52909b 100644 > --- a/rules/util-linux-ng.in > +++ b/rules/util-linux-ng.in > @@ -525,4 +525,14 @@ config UTIL_LINUX_NG_SWITCH_ROOT > comment "BusyBox' switch_root is selected!" > depends on BUSYBOX_SWITCH_ROOT > > +config UTIL_LINUX_NG_PIVOT_ROOT > + bool > + depends on !BUSYBOX_PIVOT_ROOT > + prompt "pivot_root" > + help > + change the root filesystem. > + > +comment "BusyBox' pivot_root is selected!" > + depends on BUSYBOX_PIVOT_ROOT > + > endif > diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make > index 57b9e7d78322..f0402b44e0a5 100644 > --- a/rules/util-linux-ng.make > +++ b/rules/util-linux-ng.make > @@ -109,7 +109,7 @@ UTIL_LINUX_NG_CONF_OPT := \ > --disable-logger \ > --disable-whereis \ > --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_SWITCH_ROOT)-switch_root \ > - --disable-pivot_root \ > + --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_PIVOT_ROOT)-pivot_root \ > --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LSMEM)-lsmem \ > --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_CHMEM)-chmem \ > --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_IPCRM)-ipcrm \ > @@ -355,6 +355,9 @@ endif > ifdef PTXCONF_UTIL_LINUX_NG_SWITCH_ROOT > @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/switch_root) > endif > +ifdef PTXCONF_UTIL_LINUX_NG_PIVOT_ROOT > + @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/pivot_root) > +endif > > @$(call install_finish, util-linux-ng) > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de