Discussion:
installworld: Read-only objdirs not working
(too old to reply)
Bryan Drewery
2017-11-14 23:17:20 UTC
Permalink
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.
--- __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
Bryan Drewery
2017-11-15 19:39:27 UTC
Permalink
Post by 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.
--- __installcheck_sh_check ---
sh: /usr/src/rescue/rescue/rescue: not found
rescue/sh check failed, installation aborted
*** [__installcheck_sh_check] Error code 1
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
Loading...