From owner-freebsd-current@FreeBSD.ORG Fri Sep 14 09:51:07 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92BFE16A41A for ; Fri, 14 Sep 2007 09:51:07 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 27F1D13C467 for ; Fri, 14 Sep 2007 09:51:06 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l8E9p5E8075287; Fri, 14 Sep 2007 13:51:05 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Fri, 14 Sep 2007 13:51:05 +0400 (MSD) From: Dmitry Morozovsky To: Kenneth Vestergaard Schmidt In-Reply-To: Message-ID: <20070914134928.Y14000@woozle.rinet.ru> References: <20070914124630.D14000@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Fri, 14 Sep 2007 13:51:05 +0400 (MSD) Cc: current@FreeBSD.org Subject: Re: i386 package building on an amd64 system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2007 09:51:07 -0000 On Fri, 14 Sep 2007, Kenneth Vestergaard Schmidt wrote: KVS> > possibly stupid question: it there a way to fool jail (real, not "tinderbox" KVS> > one) that it's working under i386 kernel? This would be extremely useful for KVS> > local package building. KVS> KVS> We do it by creating an i386 chroot on the amd64-machine. Works perfectly. I'm a bit frightened by information which is exported by kernel (which is 64bit) - or is this case treated specially? We can fool uname, but what about sysctls? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------