From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 06:08:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFC321065676 for ; Thu, 14 Aug 2008 06:08:29 +0000 (UTC) (envelope-from riaank@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 90E678FC08 for ; Thu, 14 Aug 2008 06:08:29 +0000 (UTC) (envelope-from riaank@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so357378rvf.43 for ; Wed, 13 Aug 2008 23:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=dAujKyTQovNyX6VvAM6qFQA0HwyZH6gNH6oIbj7B0Vw=; b=X8IkGrkOeFX+d03UNADCRF1uNEKRNYcCw2MX43B/dZGVJ7Vx9o4zbuMe2WmkV+a+Bq NcLNNh7Bv54iMi29nR7iUgXM36EuWMEIik0Qna9NlO8NHwiqjv6JGuF7OzGMiydjgPhP ZdBpRXGOjKzLnkBPU3wiELpVBPFVEC2PGQKu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=oK8M0yz0Ygur9e6NssasmETiq6XiVtBtMMu08p+ZjM1aLR+CgDYAHi6kDp5DbgAkn4 iHsT4X2EEXAeliG8IDj7vI8r6Xm9eK57pWER/B7m4JeycJVtfCzA7hChk96gdlFT9AA2 SXQhi/vSKqh1pTgRLxiK+ziLHAVgEiyEyKtWM= Received: by 10.140.135.19 with SMTP id i19mr378936rvd.169.1218694109070; Wed, 13 Aug 2008 23:08:29 -0700 (PDT) Received: by 10.141.175.11 with HTTP; Wed, 13 Aug 2008 23:08:29 -0700 (PDT) Message-ID: <85c4b1850808132308h3286ff34o16b9f19146e5ff48@mail.gmail.com> Date: Thu, 14 Aug 2008 08:08:29 +0200 From: "Riaan Kruger" To: "Matias Surdi" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: "make release" and sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 06:08:29 -0000 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 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" >