Date: Thu, 3 Nov 2005 10:38:20 +0000 From: Ceri Davies <ceri@submonkey.net> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release Makefile Message-ID: <20051103103819.GB29387@submonkey.net> In-Reply-To: <20051103095255.GI63539@ip.net.ua> References: <200511030727.jA37Rogo055689@repoman.freebsd.org> <20051103093114.GY29387@submonkey.net> <20051103095255.GI63539@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Thu, Nov 03, 2005 at 11:52:55AM +0200, Ruslan Ermilov wrote:
> On Thu, Nov 03, 2005 at 09:31:15AM +0000, Ceri Davies wrote:
> > On Thu, Nov 03, 2005 at 07:27:50AM +0000, Ruslan Ermilov wrote:
> > > ru 2005-11-03 07:27:50 UTC
> > >
> > > FreeBSD src repository
> > >
> > > Modified files:
> > > release Makefile
> > > Log:
> > > Be cross-arch friendly.
> >
> > > | @@ -714,7 +714,7 @@ release.8:
> > > | .endif
> > > | cp ${.CURDIR}/../etc/usbd.conf ${RD}/mfsfd/etc/usbd.conf
> > > | cp ${.CURDIR}/../etc/master.passwd ${RD}/mfsfd/etc/master.passwd
> > > | - pwd_mkdb -d ${RD}/mfsfd/etc -p ${RD}/mfsfd/etc/master.passwd
> > > | + cp ${RD}/trees/base/etc/*pwd.db ${RD}/mfsfd/etc/
> > > | ( for F in defaults/rc.conf netconfig protocols ; do \
> > > | sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \
> > > | ${RD}/trees/base/etc/$$F > ${RD}/mfsfd/stand/etc/$$F ; \
> >
> > I don't understand the logic. I thought that pwd_mkdb was supposed to
> > *be* cross-arch friendly these days, and aren't we now just copying in
> > password databases that were created with the same pwd_mkdb during "make
> > distribution", so where's the win?
> >
> Target endianness can be different. PWD_MKDB_ENDIAN in src/etc/Makefile
> handles this, but not here. We could copy the same code here with some
> effort, there's just no sense in building the same files again.
Ah, I see. I was under the impression that pwd_mkdb didn't need to be
told. Thanks.
Ceri
--
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former. -- Einstein (attrib.)
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDaeibocfcwTS3JF8RAlTvAKCEl3c4Z+eNjIEQ4DYT6ppPwpPi2gCZARnX
DRb+jKen36P65paI88az774=
=2yqG
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051103103819.GB29387>
