From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 19:24:12 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F09DA16A412 for ; Wed, 20 Sep 2006 19:24:12 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BA2D43D68 for ; Wed, 20 Sep 2006 19:24:11 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D5BD.dip.t-dialin.net [84.165.213.189]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8KJ0eQC057763; Wed, 20 Sep 2006 21:00:41 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8KJO6pP026531; Wed, 20 Sep 2006 21:24:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Wed, 20 Sep 2006 21:24:42 +0200 From: Alexander Leidinger To: Kris Kennaway Message-ID: <20060920212442.41c9ed0f@Magellan.Leidinger.net> In-Reply-To: <20060920182156.GA83026@xor.obsecurity.org> References: <20060918230348.I1031@ganymede.hub.org> <20060919022530.GA44301@lor.one-eyed-alien.net> <20060919092117.8asq42ers44w4wgg@webmail.leidinger.net> <20060920014127.GA52449@xor.obsecurity.org> <20060920102554.mxditjplogkscw44@webmail.leidinger.net> <20060920182156.GA83026@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: linux cross-development (was: Re: /dev/null: No such file or directory) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 19:24:13 -0000 Quoting Kris Kennaway (Wed, 20 Sep 2006 14:21:56 -0400): > OK, but under linux_base-8 it was enough to install the linux_devtools > and then chroot, in order to compile linux stuff; in fact this was > precisely the purpose of the linux_devtools port. > > Hopefully this will be addressed soon, it would be a shame to lose > this functionality. Is anyone working on it? Nobody is working on it and the linux base port diverged here since -8 (let's call it a little shift in what to expect from it since Trevor maintained them). A chroot will not work as expected: ---snip--- REMOVE_DIRS= boot dev home initrd root tmp var/log var/run var/tmp \ usr/local usr/tmp REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/localtime \ etc/motd etc/passwd etc/printcap etc/services \ etc/protocols ---snip--- We rely on the fallthrough to the FreeBSD files. The same applies to e.g. fonts.conf in the linux-fontconfig (or linuxfreetype?) port. For the gtk/X11 port I'm not sure if we already did the fallthrough for the icons. Any ideas how to provide a chroot while not losing the fallthrough if not chrooted (and we try to identify other files/dirs where we want a fallthrough)? Bye, Alexander. -- Systems tend to grow and as they grow they encroach. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137