From owner-freebsd-ports@FreeBSD.ORG Thu Aug 17 04:57:19 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D02C16A4DE for ; Thu, 17 Aug 2006 04:57:19 +0000 (UTC) (envelope-from b3k@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21FBE43D46 for ; Thu, 17 Aug 2006 04:57:19 +0000 (GMT) (envelope-from b3k@mail.ru) Received: from [212.57.150.10] (port=2099 helo=localhost) by mx3.mail.ru with smtp id 1GDZwT-000JfJ-00 for freebsd-ports@freebsd.org; Thu, 17 Aug 2006 08:57:17 +0400 Date: Thu, 17 Aug 2006 10:57:14 +0600 From: "Elisey O. Savateev" To: freebsd-ports@freebsd.org Message-Id: <20060817105714.6ccfb640.b3k@mail.ru> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Minimal chroot environment for packages building X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 04:57:19 -0000 Hi, folks! I'm, working on LegoBSD project (http://sourceforge.net/projects/legobsd) - a simple by design, modular, easy for configure and extension toolkit used for building FreeBSD based operating systems for all sort of needs. The project idea inspired by FreeSBIE (http://www.freesbie.org/) toolkit but code was rewritten from scratch. The main project goals are improved plugin infrastructure and better software addition scheme (replaced pkgselect and pkginstall FreeSBIE stages). Project is very very young for now. But source code of it is already available via SF.net SVN. Now I'm rewriting buildpackages and installpackages stages (current implementation available via svn is incorrect). I'm planning to build and install packages into target system in two ways: - using DESTDIR, - using chroot environment to build packages and then install packages into target system chroot. So I need an advice: what is _minimal_ chroot environment to build packages? I think it must include as minimum toolchain (without debugger), all programs used in bsd.ports.mk and all libraries this programs depends on. I want to use exactly minimal environment because LegoBSD is minimalistic by design and no space left on my development laptop hard drive :) Any advices and comments regarding LegoBSD project are welcomed! --- Elisey O. Savateev http://bio3k.softboard.ru | ICQ: 955583 PGP/GPG pubkey: http://bio3k.softboard.ru/uploads/etc/pubkey.asc