Discussion:
Use absolute path for KERNCONF in make.conf
Dries Michiels
2018-08-15 14:03:37 UTC
Permalink
Hello,



Is it possible to specify an absolute directory for kernel configurations in
make.conf?

Or does the specified name need to be present under
/usr/src/sys/amd64/conf/KERNELNAME



EG: KERNCONF = /root/KERNELNAME



Thanks
Ian Lepore
2018-08-15 14:07:14 UTC
Permalink
Post by Dries Michiels
Hello,
 
Is it possible to specify an absolute directory for kernel
configurations in
make.conf?
Or does the specified name need to be present under
/usr/src/sys/amd64/conf/KERNELNAME
 
EG: KERNCONF = /root/KERNELNAME
 
Thanks
When I chased this down 5 or 6 years ago, I couldn't find any way to
have an out-of-tree kernel config file other than to put a symlink into
the src/sys/<arch>/conf/ dir that points to the out-of-tree location
(which is still a bit unsatisfying and requires a writable src tree).

-- Ian
Herbert J. Skuhra
2018-08-15 15:14:05 UTC
Permalink
Post by Dries Michiels
Hello,
Is it possible to specify an absolute directory for kernel configurations in
make.conf?
Or does the specified name need to be present under
/usr/src/sys/amd64/conf/KERNELNAME
EG: KERNCONF = /root/KERNELNAME
KERNCONFDIR=/root ?

--
Herbert
Dries Michiels
2018-08-16 09:47:46 UTC
Permalink
Post by Herbert J. Skuhra
Post by Dries Michiels
Hello,
Is it possible to specify an absolute directory for kernel
configurations in make.conf?
Or does the specified name need to be present under
/usr/src/sys/amd64/conf/KERNELNAME
EG: KERNCONF = /root/KERNELNAME
KERNCONFDIR=/root ?
This works, thanks!
Post by Herbert J. Skuhra
--
Herbert
_______________________________________________
Loading...