Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build.sh ignoring MKUNPRIVED=yes
On Mon, 10 Feb 2014, Ian D. Leroux wrote:
I build the base system as a normal user, setting MKUNPRIVED=yes
in /etc/mk.conf to avoid having to specify a command-line option
every time. As of January first (the last time I rebuilt) this
still worked. With sources checked out yesterday, however, I
see
----------
$ ./build.sh distribution
ERROR: -U or -E must be set for build as an unprivileged user.
*** BUILD ABORTED ***
Please try again with build.sh revision 1.275.
I get the same error whatever command I give to build.sh (I've
tried cleandir, tools, kernel). If I give the -U option,
build.sh works normally. I didn't see anything about no longer
honouring MKUNPRIVED in UPDATING. Was the change deliberate?
Is it documented anywhere? Or is this something specific to my
machine?
That error message was intended to be printed when a non-root user
runs build.sh without the -U option. Prior to build.sh revision
1.274, an incorrect test prevented the error from ever being
printed at all. When that problem was fixed in revision 1.274,
it accidentally broke the case of setting MKUNPRIVED in mk.conf.
Revision 1.275 should make it work the way you expect, at the
expense of detecting the error later than before.
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index