From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 415BE13832E for ; Wed, 3 Aug 2016 00:26:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 804FCE0B68; Wed, 3 Aug 2016 00:26:22 +0000 (UTC) Received: from ahiker.mooo.com (ahiker.mooo.com [173.255.215.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73BB0E0B3A for ; Wed, 3 Aug 2016 00:26:11 +0000 (UTC) Received: from [10.8.78.14] (helo=matica.foolinux.mooo.com) by ahiker.mooo.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bUk0g-0007yv-BG for gentoo-user@lists.gentoo.org; Tue, 02 Aug 2016 17:26:10 -0700 Received: from itz by matica.foolinux.mooo.com with local (Exim 4.87) (envelope-from ) id 1bUk0f-0001if-4B for gentoo-user@lists.gentoo.org; Tue, 02 Aug 2016 17:26:09 -0700 Date: Tue, 2 Aug 2016 17:26:09 -0700 From: Ian Zimmerman To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: cross-compile attempt Message-ID: <20160803002229.6501.1E623655@matica.foolinux.mooo.com> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <1544697.klPk7OG4O7@dell_xps> <2788057.PL0PvVn3Vb@dell_xps> <7280559.BLtsgQ0YyM@peak> <1741521.Dge7ti9OX5@dell_xps> <20160802125604.4dea5fe3@digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160802125604.4dea5fe3@digimed.co.uk> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: 86137282-40b2-4642-9a1c-d882ea9e3750 X-Archives-Hash: 950a56d97f5fe11a6db450b85052d6a1 On 2016-08-02 12:56 +0100, Neil Bothwick wrote: > If you are using systemd, it is much simpler to use a container with > systemd-nspawn that chroot, it takes care of all the mucking around > required to get /dev, /proc and friends available to the container. > > The only mount I need to take care of myself is for $PKGDIR, which is > also available via NFS on the target box. Even with chroot and without without systemd, it pays to create a dead simple shell script that does all the mounting. You can even have that script itself exec chroot as the last step. -- Please *no* private Cc: on mailing lists and newsgroups Why does the arrow on Hillary signs point to the right?