From owner-freebsd-current@FreeBSD.ORG Wed Oct 3 09:31:25 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2AD716A477 for ; Wed, 3 Oct 2007 09:31:25 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 9205E13C4C3 for ; Wed, 3 Oct 2007 09:31:25 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 322221B10F34; Wed, 3 Oct 2007 11:31:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [10.1.1.3] (unknown [192.168.25.6]) by blah.sun-fish.com (Postfix) with ESMTP id 1D6AD1B10F2F; Wed, 3 Oct 2007 11:31:21 +0200 (CEST) Message-ID: <47036164.4040609@moneybookers.com> Date: Wed, 03 Oct 2007 12:31:16 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Aryeh Friedman References: <4702EA52.9050904@delphij.net> <4702ECCB.3010508@webvolution.net> <4703218B.7000603@webvolution.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4461/Wed Oct 3 10:50:48 2007 on blah.cmotd.com X-Virus-Status: Clean Cc: Joao Pedras , freebsd-current@freebsd.org Subject: Re: small purposal for change in installworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2007 09:31:25 -0000 Hi, Aryeh Friedman wrote: > On 10/3/07, Joao Pedras wrote: > > >> in that case, maybe a fitting location would be /etc/default/cvsup or >> /etc/default/supfiles. No change needed in mergemaster, just the file >> locations. >> >> Where this may lead to, is that a lot of stuff from /usr/share/examples >> will/would (arguably!) belong in /etc... >> > > /etc/config/... ??? that way people will know what is system config > stuff and what is not... also I think it might make sense to set aside > space in /usr/local/etc for stuff like kernel configs (namely any > kernel config found there automatically supersedes GENERIC on make > buildkernel with no kernel specified) > So far all that you want to do can be done using /etc/make.conf cat /etc/make.conf : ######### sup ########## SUP_UPDATE= # SUP= /usr/bin/csup SUPFLAGS= -g -L 1 SUPHOST= cvsup.PUT_YOUR_COUNTRY_CODE_HERE.FreeBSD.org SUPFILE= /usr/share/examples/cvsup/standard-supfile PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile So now simple make update in /usr/src and /usr/ports works. You do not have to specify anything else. KERNCONF=CORE GENERIC So when I type in /usr/src: make kernel always both kernels are build (only CORE is installed) Of course you can leave only to KERCONF=YOUR_KERNCONF_FILE so if you want to build freebsd from latest sources simple cd /usr/src && make update buildworld kernel installworld && mergemaster -i should work perfect. What about /etc .. everything there is system configuration files :) so if we make /etc/config then we have to move all files to /etc/config .. But - /usr/local/etc have nothing to do with system configuration (like kernel confs), on freshly installed freebsd /usr/local does not exist :) it is created and dedicated for 3rd party software - ports and etc. So my point is that I do not see any reasons for changes here , just read the documentation and you will be surprised how many things are already done. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >