cvs commit: src/tools/tools/nanobsd

Poul-Henning Kamp phk at
Thu Aug 3 17:34:14 UTC 2006

In message <20060803120515.GA1223 at>, "Simon L. Nielsen" writes:
>On 2006.07.13 14:06:10 +0000, Poul-Henning Kamp wrote:
>> phk         2006-07-13 14:06:10 UTC
>>   FreeBSD src repository
>>   Modified files:
>>     tools/tools/nanobsd 
>>   Log:
>>   Create the diskless magic files in /etc during the install_etc() step
>>   instead of setup_nanobsd(), because this gives customize tasks a chance
>>   to fiddle the details.
>This makes it a bit harder to (ab)use as a framework to
>build more normal FreeBSD images where a normal /etc is used.
>Previously I simply replaced setup_nanobsd in my customize script and
>I got a pretty standard FreeBSD install out in the end.
>Would you mind if I split the "diskless" magic out into
>setup_nanobsd_etc() (the parts code you moved in this commit) and then
>run it right after install_etc()?  It shouldn't make a difference for
>normal NanoBSD use, but then I can simply override setup_nanobsd_etc()
>in my cutomize script and avoid larger patches against

That's ok with me.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the cvs-src mailing list