From owner-freebsd-questions@FreeBSD.ORG Thu Jun 2 10:58:57 2011 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 C8567106566B for ; Thu, 2 Jun 2011 10:58:57 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 867548FC13 for ; Thu, 2 Jun 2011 10:58:57 +0000 (UTC) Received: by gxk28 with SMTP id 28so442715gxk.13 for ; Thu, 02 Jun 2011 03:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=hUevHRHgYouxynBSvDUQtNBDbfZvIq5pFMhM+5qXuCA=; b=J3XlvEgx1/o5hTAt079ixX3SzrYMZuvURNb+okpeT2wnQ4nNNBMm6eXeh/RF0tUu4q Ar/912AOHJMPXxo6TL8JU1+tNgeszxhGUL2XSMVsT0mI2xygQ5yRZTVSogSZ784x7BhC CZVpODcY9LdoPsV87PUBy+CoXgm23Y1xJMODA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WkjnIskPag1+0+ak3nbd9CW2BaWtQRBCwwj6HE7m9u92wV3Vwpfm68VtPUqHK2O7f5 wCoatSkf3cneUFHZP+py4oQvNdXjwDqffI8sxBGeXeWC2DiRAb4hnWUsrIukj1agVyWo j/RP+ez0KLPqUnNiqdNigr9DpmKH+m2s38+rQ= MIME-Version: 1.0 Received: by 10.236.79.226 with SMTP id i62mr615851yhe.282.1307010724950; Thu, 02 Jun 2011 03:32:04 -0700 (PDT) Received: by 10.236.34.198 with HTTP; Thu, 2 Jun 2011 03:32:04 -0700 (PDT) Date: Thu, 2 Jun 2011 12:32:04 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: custom iso with /etc/src.conf 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, 02 Jun 2011 10:58:57 -0000 Hi all, I know I can build custom iso with make release but this is my question: In order to get some custom build, e.g. for jails, I used to write some things to /etc/src.conf for not installing / compiling some software (games, daemons etc), so my jail is really thin. But now, I would REALLY love to make this jail system as default bsd system which I can install to pc from installer, which would be at iso. Well, this would not be just like jail, there would be kernel as well and so on ... >From what I know, there are several stages in make release, from release(7) I see that release: Uses ``make installworld'' to install a clean system into a chroot(8) environment on the file system. Checks out the specified version of the source code and then rebuilds the entire system in the clean environment with ``make buildworld''. The detailed steps that follow are then executed to package up the different distributions, build the installation floppy disks, build release documenta- tion, and so on. I have cvs repository localy installed in /home/ncvs. But, if I compile it (/usr/src with /etc/src.conf) and than make release, it will fail because even I install it, it fails to buildworld in make release stage, because I have not make + compiler toolchain and other things in that "clean system" after installworld. So my question is, how to make it in that way, that I "make release", full system is installed to chroot and than system suitable for my needs (/etc/src.conf options what to compile and what not) is build and isos are made. Thank you very much Stefan Miklosovic