Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 21:24:42 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linux cross-development (was: Re: /dev/null: No such file or directory)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kris Kennaway <kris@obsecurity.org> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060920212442.41c9ed0f>