installworld: Read-only objdirs not working

Bryan Drewery bdrewery at FreeBSD.org
Tue Nov 14 23:17:39 UTC 2017


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

-------------- 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/20171114/6c8d1bd6/attachment.sig>


More information about the freebsd-current mailing list