From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 19:48:52 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 6E60A16A492 for ; Wed, 20 Sep 2006 19:48:52 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD49343D45 for ; Wed, 20 Sep 2006 19:48:51 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id k8KJmpkw029604; Wed, 20 Sep 2006 13:48:51 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id k8KJmmlO079912; Wed, 20 Sep 2006 13:48:48 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id k8KJmmrS079909; Wed, 20 Sep 2006 13:48:48 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17681.39712.119019.147240@gromit.timing.com> Date: Wed, 20 Sep 2006 13:48:48 -0600 From: John E Hein To: Alexander Leidinger In-Reply-To: <20060920212442.41c9ed0f@Magellan.Leidinger.net> 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> <20060920212442.41c9ed0f@Magellan.Leidinger.net> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-emulation@freebsd.org, Kris Kennaway 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:48:52 -0000 Alexander Leidinger wrote at 21:24 +0200 on Sep 20, 2006: > 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)? That smells a little like unionfs. FWIW, I'd like to see a resurrection of linux_devtools or some equivalent. >From a system building perspective, it seems difficult to build a system in an automated way (as in a product) that needs to build apps compiled for linux. We build packages in a FreeBSD chroot and pkg_add -p them into an image hierarchy (which is then copied to the target media, typically a Compact Flash). So, if we wanted to deploy a system that has linux_base and some linux-compiled apps, we'd have to build the linux_base .tgz package in our build chroot, pkg_delete it, then install linux_dist in order to compile linux apps (there are some closed linux libs we need to link with otherwise we'd just compile the apps as freebsd). Maybe there's an easier way, but if not, it would require changes to our build infrastructure here. This is one reason I haven't updated to the latest linux ports infrastructure for our products yet. It's getting more difficult to stay that course, however, as ports/Mk, et. al., diverges from our snapshot.