Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 10:27:19 +0200
From:      Matias Surdi <matiassurdi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: "make release" and sysinstall
Message-ID:  <48A3EC67.8040300@gmail.com>
In-Reply-To: <85c4b1850808132308h3286ff34o16b9f19146e5ff48@mail.gmail.com>
References:  <g7v4tb$ija$1@ger.gmane.org> <85c4b1850808132308h3286ff34o16b9f19146e5ff48@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A3EC67.8040300>