On 03-Dec-2002 Terry Lambert wrote:
> Peter Pentchev wrote:
>> On Tue, Dec 03, 2002 at 05:37:34PM +0300, Andrey Beresovsky wrote:
>> > I am developing a program which will allow me to build worlds and
>> > kernels for several hosts with different options (make.conf files,
>> > kernel configs and so on).  I need to be able to override some
>> > variables in /usr/src/Makefile.inc1. For the moment they are defined
>> > with '=', and I suggest defining them with '?='. The variables I
>> > need to override are KRNLSRCDIR, KRNLCONFDIR, KRNLOBJDIR. I have
>> > sent PR (misc/45961) with patch to solve my request.
>> >
>> > Please, anyone who has a commit rights, commit this patch.
>> 
>> I was wondering about that when I saw your PR; actually, I think that
>> the current FreeBSD kernel building infrastructure is quite sufficient
>> for what you want to do, without any more modifications.
> 
> 
> Don't feel bad; this is the same thing they told me when I
> submitted the same patch.
> 
> What they really mean is that it's "sufficient for them", because
> they don't understand what it is you want to do.  Specifically, if
> the kernel name isn't "GENERIC", you get screwed by sysinstall, if
> you make a full release CDROM.
> 
> The problem is that you are talking to people who rarely make their
> own release CDROM's, and, when they do, they use GENERIC.

I build a custom release at work that uses the a custom kernel by
default on 4.x and make use of LOCAL_PATCHES and KERNELS to accomplish
what I need.  I do think I have a local patch that allows you to
specify the kernel config for the "default" kernel, but that it
doesn't apply to 5.x because 5.x does things differently in that
area.  5.x doesn't install a kernel.GENERIC anymore though, which is
a bit disturbing.

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to