From owner-svn-src-head@freebsd.org Wed Aug 15 17:34:00 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FA381069D45; Wed, 15 Aug 2018 17:34:00 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 406F070716; Wed, 15 Aug 2018 17:34:00 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: brd/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 1C51A1626A; Wed, 15 Aug 2018 17:34:00 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id F15B821C5C; Wed, 15 Aug 2018 13:33:59 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute5.internal (MEProxy); Wed, 15 Aug 2018 13:33:59 -0400 X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 7982741A1; Wed, 15 Aug 2018 13:33:59 -0400 (EDT) Message-Id: <1534354439.923623.1475256704.517B74D0@webmail.messagingengine.com> From: Brad Davis To: rgrimes@freebsd.org Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-9a5384d7 Date: Wed, 15 Aug 2018 11:33:59 -0600 Subject: Re: svn commit: r337857 - in head: bin/csh bin/sh etc References: <201808151731.w7FHVlFY048812@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201808151731.w7FHVlFY048812@pdx.rh.CN85.dnsmgr.net> X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 17:34:00 -0000 On Wed, Aug 15, 2018, at 11:31 AM, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] > > > > > > On Wed, Aug 15, 2018, at 10:35 AM, Rodney W. Grimes wrote: > > > > Author: brd > > > > Date: Wed Aug 15 16:22:12 2018 > > > > New Revision: 337857 > > > > URL: https://svnweb.freebsd.org/changeset/base/337857 > > > > > > > > Log: > > > > Fix build after r337849 > > > > > > > > This moves the symlink creation to after where the files are installed. > > > > > > > > This also inverts the shell change so that it only happens if MK_TCSH is on. > > > > > > > > Approved by: will (mentor) > > > > Differential Revision: https://reviews.freebsd.org/D16725 > > > > > > > > Modified: > > > > head/bin/csh/Makefile > > > > head/bin/sh/Makefile > > > > head/etc/master.passwd > > > > > > > > Modified: head/bin/csh/Makefile > > > > ============================================================================== > > > > --- head/bin/csh/Makefile Wed Aug 15 16:16:59 2018 (r337856) > > > > +++ head/bin/csh/Makefile Wed Aug 15 16:22:12 2018 (r337857) > > > > @@ -49,8 +49,7 @@ MLINKS= csh.1 tcsh.1 > > > > > > > > LIBADD= termcapw crypt > > > > > > > > -LINKS= ${BINDIR}/csh ${BINDIR}/tcsh \ > > > > - /root/.cshrc /.cshrc > > > > +LINKS= ${BINDIR}/csh ${BINDIR}/tcsh > > > > > > > > CLEANFILES= ${GENHDRS} gethost csh.1 > > > > > > > > @@ -158,7 +157,7 @@ beforeinstall: > > > > rm -f ${DESTDIR}/.cshrc > > > > > > > > afterinstallconfig: > > > > - sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd > > > > + sed -i "" -e 's;/bin/sh;/bin/csh;' ${DESTDIR}/etc/master.passwd > > > > pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd > > > > > > > > .include > > > > > > > > Modified: head/bin/sh/Makefile > > > > ============================================================================== > > > > --- head/bin/sh/Makefile Wed Aug 15 16:16:59 2018 (r337856) > > > > +++ head/bin/sh/Makefile Wed Aug 15 16:22:12 2018 (r337857) > > > > @@ -37,7 +37,6 @@ WFORMAT=0 > > > > > > > > CLEANFILES+= mknodes mksyntax > > > > CLEANFILES+= ${GENSRCS} ${GENHDRS} > > > > -LINKS= /root/.profile /.profile > > > > > > > > build-tools: mknodes mksyntax > > > > > > > > @@ -66,5 +65,8 @@ SUBDIR.${MK_TESTS}+= tests > > > > > > > > beforeinstall: > > > > rm -f ${DESTDIR}/.profile > > > > > > Still unconditionally removing /.profile, but only replacing it > > > when installconfig: is run. > > > > Yes, working on a separate review for this.. > > > > > > + > > > > +afterinstallconfig: > > > > + ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.profile ${DESTDIR}/.profile > > > > > > > > .include > > > > > > > > Modified: head/etc/master.passwd > > > > ============================================================================== > > > > --- head/etc/master.passwd Wed Aug 15 16:16:59 2018 (r337856) > > > > +++ head/etc/master.passwd Wed Aug 15 16:22:12 2018 (r337857) > > > > @@ -1,6 +1,6 @@ > > > > # $FreeBSD$ > > > > # > > > > -root::0:0::0:0:Charlie &:/root:/bin/csh > > > > +root::0:0::0:0:Charlie &:/root:/bin/sh > > > > > > I strongly object to this change to master.passwd, and feel it should > > > be worked around if in anyway possible. I have pointed out in the > > > review ways to not have to make this change. > > > > I opened up the following which addresses some of your feedback: > > https://reviews.freebsd.org/D16728 > > Actually why not back out this whole set of changes, and come up with > an agreeable solution, this is a bit of a mess right now. And here is: https://reviews.freebsd.org/D16729 You where the one asking about repo churn.. Regards, Brad Davis