installworld: Read-only objdirs not working
Bryan Drewery
bdrewery at FreeBSD.org
Wed Nov 15 19:39:41 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20171115/85187eb9/attachment.sig>
More information about the freebsd-current
mailing list