From owner-freebsd-arch@FreeBSD.ORG Tue Sep 16 17:54:29 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFB9D106564A for ; Tue, 16 Sep 2008 17:54:29 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 642F68FC17 for ; Tue, 16 Sep 2008 17:54:29 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id D9A0C41C612; Tue, 16 Sep 2008 19:35:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id nRWqcBn7UVPv; Tue, 16 Sep 2008 19:35:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 7E7AA41C62D; Tue, 16 Sep 2008 19:35:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 4F43044487F; Tue, 16 Sep 2008 17:30:37 +0000 (UTC) Date: Tue, 16 Sep 2008 17:30:36 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Poul-Henning Kamp In-Reply-To: <5764.1221549183@critter.freebsd.dk> Message-ID: <20080916171748.F65801@maildrop.int.zabbadoz.net> References: <5764.1221549183@critter.freebsd.dk> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: arch@freebsd.org Subject: Re: the more build knobs bikeshed X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 17:54:29 -0000 On Tue, 16 Sep 2008, Poul-Henning Kamp wrote: > In message <48CF1979.90507@errno.com>, Sam Leffler writes: >> Here is a patch against HEAD to add several knew MK_* knobs that can be >> used to trim the build for small-footprint applications: >> >> http://www.freebsd.org/~sam/build.patch > > Looks good. > > You should probably check if the periodic scripts get unhappy if > there is no locate binary. I have always ignored periodic failures with my minimalized builds as I usually do not expect to run any/much periodic scripts anyway not that anyone would get the mails without MAIL, ... Things like ipfw, ipstat, purgestat, ... are just complaining but things still work (even on those where I have replaced mail with something else(tm)). Never had any problems. Otherwise a customer /etc/periodic.conf.local can always fix things for each individual setup. The patch looks good to me. I wonder if we, at one point want to supergroup for example APM + ACPI and add zzz and powerd and have a MK_POWERMGMT, etc. like MK_MAIL, etc. but those things, for sure, can be refined incrementally. You said you had the descriptions for src.conf already? Put this into HEAD and other people might tune more. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.