Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 22:27:41 -0500
From:      Warner Losh <imp@bsdimp.com>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        FreeBSD Arch <freebsd-arch@freebsd.org>
Subject:   Re: Retiring WITH_INSTALL_AS_USER
Message-ID:  <C6F766A6-00DC-4F61-A87F-917BA99EBDA2@bsdimp.com>
In-Reply-To: <9250.1414076335@chaos>
References:  <96C0B2BE-0621-4162-BBB7-7D34AEAB5FD0@gmail.com> <21044.1414038558@chaos> <E40CAE9C-0C6B-4D7C-879E-53926D0A775E@bsdimp.com> <9250.1414076335@chaos>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_F5883AC1-F0A2-4C99-B5C2-705037D12AFD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Oct 23, 2014, at 9:58 AM, Simon J. Gerraty <sjg@juniper.net> wrote:

> Warner Losh <imp@bsdimp.com> wrote:
>> If it is in the tree, it needs to work.=20
>=20
> No argument there.
>=20
>> It is broken in about a dozen places
>> now. Perhaps not the ones that you use.
>=20
> Hmm I have it permanently set in a projects/bmake tree that builds
> buildworld etc fine (while producing meta files) - though its been a
> month or two since last sync.

Buildworld it is fine. installworld is where it breaks. In a lot of =
places.

> Internally we have it set in head trees too.
> I don't doubt there's something lacking - just haven't noticed, sorry.
>=20
>> Makefile.inc1 is the only place it is documented right now. NO_ROOT
>> creates a METADATA file for the attributes of the file and does =
simple
>> copies instead. This lets you build entirely as an unpriv=92d user, =
but
>> still use makefs to get a filesystem with the proper attributes. In
>> many ways it is what you want, and you could get what you want by
>> specifying /dev/null for that METADATA if it were more tightly
>> coupled.=20
>=20
> Sounds ok.=20
>=20
> Hmm etc/Makefile looks like it lost the ability to run mtree safely=20
> in a cross-build env?  The MTREE_FILTER stuff ensures that mtree =
doesn't
> choke on unknown users and such.
> How is that handled now?

That=92s a good question. With NO_ROOT you postpone the unknown users =
until makefs time. There=92s both pros and cons to that...

Warner

--Apple-Mail=_F5883AC1-F0A2-4C99-B5C2-705037D12AFD
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUTGotAAoJEGwc0Sh9sBEA+TwQAL3XBpXVNwzMd0O4Mq9NcFSx
uWIpq64H8CVv4phMrX81bYt8pGW1URwpF9dfCirHckfH+DsQaw1IcEj40n4nIRP8
yovJesjn2l9+AjlYcmYW28HxLl6vJUP4F2Hp0JQWT47/JAUQ/ymSL1kLR0ZK/4ZA
APVUkri51GJFR9qOc/EiAvOyRnN5zLd9+opzZfdHgIxop0gbxZPk9+BwgdF1isZm
m2vA6s+BCQyvgJAub9r5phqIoQUD1sB4r1RvDae7QhWlTOfRivHQfrBWnHQcTNUl
AexamP/vFh4MOWEkFXKxOEPQSOudYIDwkeyWRKpPwO8czVqq6gAVTnS9wa4EUJTg
lMM4hhMfRYeXIaEQq84NSLzm8gGtqv+JY4rhYwavzEbfFbUn33BkJZTJbIlU0kFI
XBDOMvg/91v5MuyGXOcyHNTqzZVfnAjIOANha6HnPa2+Wrdl4V3JCNpFKR1JKWSB
1egK5sGmsbSpxlAs3z8i87apULoG2dcD5YPUz+tRufZRoPyBk+JL3/Y/ej3NYAfh
BknSZW1YjKzH/qIXQbRlz39p2W1XLXQ/+3pwe4HpcnxPuQY36631jc3oXbxUvht+
9B+3avfZWbiuOS07aed3lkCn5THrwJxGK/HQSH7Dlq+1PGLda0hSNJ4l354eOv1k
VSB8Ue23pcfaFQP3+KHP
=BqsS
-----END PGP SIGNATURE-----

--Apple-Mail=_F5883AC1-F0A2-4C99-B5C2-705037D12AFD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C6F766A6-00DC-4F61-A87F-917BA99EBDA2>