cvs commit: src/tools/tools/nanobsd nanobsd.sh

Simon L. Nielsen simon at FreeBSD.org
Thu Aug 3 12:05:20 UTC 2006


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  nanobsd.sh 
>   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 nanobsd.sh 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 nanobsd.sh.

-- 
Simon L. Nielsen


More information about the cvs-src mailing list