Re: installworld: Read-only objdirs not working

2017-11-15 Thread Bryan Drewery
On 11/14/2017 3:17 PM, Bryan Drewery wrote:
> After a recent change a read-only /usr/obj, or other MAKEOBJDIRPREFIX,
> will not properly work for an installworld.  I am working on a fix.
> 
> It will manifest as a missing rescue/rescue like:
> 
>> --- __installcheck_sh_check ---
>> sh: /usr/src/rescue/rescue/rescue: not found
>> rescue/sh check failed, installation aborted
>> *** [__installcheck_sh_check] Error code 1
> 
> A workaround for now is to pass __objdir_writable=yes as a make argument:
> 
> make installworld DESTDIR=... __objdir_writable=yes
> 
> This should only be used a temporary workaround and should be removed
> once I commit a fix.
> 

I have a fix locally that I am testing.  It also disables creating
object directories for other top-level targets (not listed in r325697),
such as 'make check-old'.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


installworld: Read-only objdirs not working

2017-11-14 Thread Bryan Drewery
After a recent change a read-only /usr/obj, or other MAKEOBJDIRPREFIX,
will not properly work for an installworld.  I am working on a fix.

It will manifest as a missing rescue/rescue like:

> --- __installcheck_sh_check ---
> sh: /usr/src/rescue/rescue/rescue: not found
> rescue/sh check failed, installation aborted
> *** [__installcheck_sh_check] Error code 1

A workaround for now is to pass __objdir_writable=yes as a make argument:

make installworld DESTDIR=... __objdir_writable=yes

This should only be used a temporary workaround and should be removed
once I commit a fix.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature