Subject: Re: Kernel config file
To: None <tls@rek.tjls.com>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: tech-kern
Date: 06/17/2007 13:12:53
On 17-Jun-07, at 1:04 PM, Thor Lancelot Simon wrote:

> On Sun, Jun 17, 2007 at 10:47:53AM -0400, Jared D.McNeill wrote:
>> Heyas folks --
>>
>> I've whipped up a proof of concept kernel config file loader for
>> i386. I'm sure it could be extended to do pretty much anything, but
>> for now all that is implemented is scripting of USERCONF. This lets
>> you do things like disable ACPI without having to 'boot -c' every  
>> time.
>>
>> The plist file loaded is kernelname.plist, and looks like this:
>
> Please, no plists in the tree in applications where users have to
> edit them by hand (on the other hand if there were a _generator_ for
> this plist, it would be wonderful).

I've been thinking about this, we could have a command to generate  
the plist file based on the currently selected userconf options. So  
eg. you boot GENERIC, do a 'boot -c', change a bunch of crap, then  
boot. If you like what you see, you could simply do '/usr/sbin/ 
bootprops -x >/netbsd.plist' to dump the current configuration.

Cheers,
Jared