From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ioPi4-00058K-BW for ptxdist@pengutronix.de; Mon, 06 Jan 2020 11:34:08 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ioPi4-0006F1-4G for ptxdist@pengutronix.de; Mon, 06 Jan 2020 11:34:08 +0100 Date: Mon, 6 Jan 2020 11:34:08 +0100 From: Michael Olbrich Message-ID: <20200106103408.GB5858@pengutronix.de> References: <20191126224419.GA949464@lenoch> <20191126224730.GC949464@lenoch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191126224730.GC949464@lenoch> Subject: Re: [ptxdist] [RFC 2/2] util-linux: enable login List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Tue, Nov 26, 2019 at 11:47:30PM +0100, Ladislav Michl wrote: > ...that circular UTIL_LINUX_NG dependency needs to be yet solved... Maybe drop the selinux support in PAM for now? That should help. All selinux stuff is in staging anyways right now and horribly outdated. Michael > > --- > rules/libuuid.in | 4 ++-- > rules/util-linux-ng.in | 11 +++++++++++ > rules/util-linux-ng.make | 5 ++++- > 3 files changed, 17 insertions(+), 3 deletions(-) > > diff --git a/rules/libuuid.in b/rules/libuuid.in > index f14106044..022e4b39e 100644 > --- a/rules/libuuid.in > +++ b/rules/libuuid.in > @@ -3,8 +3,8 @@ > config LIBUUID > tristate > select VIRTUAL > - select UTIL_LINUX_NG > - select UTIL_LINUX_NG_LIBUUID > +# select UTIL_LINUX_NG > +# select UTIL_LINUX_NG_LIBUUID > help > Helper to select the target packet containing a recent libuuid.so > library and its header. > diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in > index 4f230bc60..81e11b287 100644 > --- a/rules/util-linux-ng.in > +++ b/rules/util-linux-ng.in > @@ -7,6 +7,7 @@ menuconfig UTIL_LINUX_NG > select UTIL_LINUX_NG_LIBBLKID > select UTIL_LINUX_NG_LIBUUID if UTIL_LINUX_NG_MKSWAP_UUID > select NCURSES if UTIL_LINUX_NG_USES_NCURSES > + select PAM if UTIL_LINUX_NG_LOGIN > > if UTIL_LINUX_NG > > @@ -441,4 +442,14 @@ config UTIL_LINUX_NG_LSCPU > help > lscpu shows information about the CPU architecture > > +config UTIL_LINUX_NG_LOGIN > + bool > + depends on !BUSYBOX_LOGIN || ALLYES > + prompt "login" > + help > + ... > + > +comment "BusyBox' login is selected!" > + depends on BUSYBOX_LOGIN > + > endif > diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make > index cda06a4a6..cc09e13d3 100644 > --- a/rules/util-linux-ng.make > +++ b/rules/util-linux-ng.make > @@ -115,7 +115,7 @@ UTIL_LINUX_NG_CONF_OPT := \ > --disable-chfn-chsh-password \ > --disable-chfn-chsh \ > --disable-chsh-only-listed \ > - --disable-login \ > + --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_LOGIN)-login \ > --disable-login-chown-vcs \ > --disable-login-stat-mail \ > --disable-nologin \ > @@ -312,6 +312,9 @@ endif > ifdef PTXCONF_UTIL_LINUX_NG_LSCPU > @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/lscpu) > endif > +ifdef PTXCONF_UTIL_LINUX_NG_LOGIN > + @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/login) > +endif > > @$(call install_finish, util-linux-ng) > > -- > 2.24.0 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > -- 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 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de