Date: Wed, 24 Aug 2016 10:06:53 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Brooks Davis <brooks@freebsd.org> Cc: Randy Westlund <rwestlun@gmail.com>, freebsd-current@freebsd.org Subject: Re: WITH_INSTALL_AS_USER broken? Message-ID: <ffa6fda4-1c96-e049-07cf-605f4e22e5bd@FreeBSD.org> In-Reply-To: <20160824164854.GB81446@spindle.one-eyed-alien.net> References: <20160824075556.GI16695@gmail.com> <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org> <20160824164854.GB81446@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qLPpeXW1bJHRmObV8r32lItMtj9QRC4lR Content-Type: multipart/mixed; boundary="I8sBTdD0NISpWrVaWwHQxoetnXbeF8M72" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Brooks Davis <brooks@freebsd.org> Cc: Randy Westlund <rwestlun@gmail.com>, freebsd-current@freebsd.org Message-ID: <ffa6fda4-1c96-e049-07cf-605f4e22e5bd@FreeBSD.org> Subject: Re: WITH_INSTALL_AS_USER broken? References: <20160824075556.GI16695@gmail.com> <1fdf9db8-3c72-a7f3-aa4f-eaaf8ab5ab78@FreeBSD.org> <20160824164854.GB81446@spindle.one-eyed-alien.net> In-Reply-To: <20160824164854.GB81446@spindle.one-eyed-alien.net> --I8sBTdD0NISpWrVaWwHQxoetnXbeF8M72 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/24/16 9:48 AM, Brooks Davis wrote: > On Wed, Aug 24, 2016 at 07:57:04AM -0700, Bryan Drewery wrote: >> On 8/24/2016 12:55 AM, Randy Westlund wrote: >>> Is WITH_INSTALL_AS_USER supposed to work, or is it known to be broken= ? >>> >>> I'm cross compiling -current (r304727) for arm, and trying to install= world as >>> a user. Install is trying to set the schg file flag on some librarie= s, which >>> is failing because I'm not root. >>> >> >> Has this ever worked? I recently changed stuff here but I would think= >> that it wouldn't work before my changes too. >=20 > WITH_INSTALL_AS_USER never worked except in select individual directori= es. > Anything complicated caused it to break and it definitely never worked > for installworld. For installworld you want NO_ROOT. Thanks for confirming. In this case install needs -U, but even then it would lack proper permissions in the final product. The mtree produced by NO_ROOT would definitely be needed over a -U hack. >=20 > NO_ROOT support should be migrated to share/mk/* rather than overriding= > things in Makefile.inc1 and WITH_INSTALL_AS_USER should be removed or > made into a synonym for NO_ROOT. >=20 > -- Brooks >=20 --=20 Regards, Bryan Drewery --I8sBTdD0NISpWrVaWwHQxoetnXbeF8M72-- --qLPpeXW1bJHRmObV8r32lItMtj9QRC4lR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJXvdQtAAoJEDXXcbtuRpfP1moH/ApmK/T7OQ8nDk3NnKHu2Iu4 r+UJMWQggogndEw9ayeqplqc73aOyj33uJByf4TkB186O0JMkQPHy8NzjCS/iMZi Qr0c3j95Nq3+cT+AiO9lo/Yz2ynJkOE2I9fk8PpNWDURGCG6D/QetgGouWzclj7k NKbx2+x4W0k6ixmwUH5W/vF+c0JPJTSXNLitaiqxpLzyXJQgXYHvTa2bsVSoDh8d tkF5ZHc/XjNmEyq0csWxNrZn8v/5BwMXSTCyvxuBCSr4ukFrgoK3R5kStice+4T3 Z8OqBhXSTIFPojVGb9bZxpNdR6VgyEC4ZgbG0UKEDy7DUEqTnDlbWVMzoQMDe1I= =FRNO -----END PGP SIGNATURE----- --qLPpeXW1bJHRmObV8r32lItMtj9QRC4lR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ffa6fda4-1c96-e049-07cf-605f4e22e5bd>