"make release" and sysinstall

Matias Surdi matiassurdi at gmail.com
Thu Aug 14 08:26:10 UTC 2008


Hi Riaan,
Thanks a lot for your explanation, it's been very usefull to me, really.

I've been looking about Freesbie, but it seems abandoned.... and on 
their mailing list there is no post since a couple of months.

PfSense, which I use here, uses bsdInstaller but it's last "new" is from 
Aug 02 2005, so, it seems abandoned also.

More of the same with the "livecd" port... the scripts are not up to 
date with current FreeBSD releases.

I'll give a sigth to nanoBSD., but for the moment it seems that where I 
can get more support/documentation is with sysinstall and standard 
FreeBSD tools.


Another question:

Suppose I create my own install.cfg for sysinstall and then I do a "make 
release".If my sysinstall contains a couple of freeBSD packages (bash, 
python, etc..) plus a custom package created by me.. How must I instruct 
"make release" to include just those packages in the final CDROM?


Thanks a lot.


Riaan Kruger escribió:
> Sysinstall has a configuration file with wich you can specify several
> options, see man sysinstall(8) for more details.  When making a
> release you set the sysinstalls configuration file with the
> LOCAL_PATCHES option to patch it to the chroot environment release
> build environment.
> 
> We use it to create a automatic install for a host that we know
> exactly how the disks will be partitioned, what packages are installed
> what users etc.
> 
> Here is an snippet of our patch file, (please note I have changed some
> of the names to protect the guilty :) )
> 
> --- /dev/null Sat Jan 26 17:11:01 2008
> +++ release/install.cfg Sat Jan 26 17:17:46 2008
> @@ -0,0 +1,31 @@
> +debug=yes
> +
> +nonInteractive=yes
> +hostname=a.b.c
> +domainname=b.c
> +
> +mediaSetCDROM
> +
> +distSetMinimum
> +
> +disk=ar0
> 
> 
> etc, etc
> 
> Hope this helps.
> 
> PS. You could also look at what nanobsd and I think pfsense does. I
> think they use a different approach.  I have heard sysinstall should
> have been "killed" a long time ago but it still works well for us.
> 
> 
> Riaan
> 
> On 8/13/08, Matias Surdi <matiassurdi at gmail.com> wrote:
>> Hi again,
>>
>> Suppose I build my own FreeBSD based distro, as described in release(7).
>> How can I script sysinstall or replace it with another installer to
>> customize the installation process?
>>
>>
>> Thanks a lot.
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list