Re: installworld: Read-only objdirs not working

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Wed, 15 Nov 2017 11:39:27 -0800
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


Received on Wed Nov 15 2017 - 18:39:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC