From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bm0jd-0006Se-5Z for mharc-grub-devel@gnu.org; Mon, 19 Sep 2016 11:43:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm0jW-0006Md-8T for grub-devel@gnu.org; Mon, 19 Sep 2016 11:43:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm0jT-0002IP-2M for grub-devel@gnu.org; Mon, 19 Sep 2016 11:43:50 -0400 Received: from b.painless.aa.net.uk ([81.187.30.52]:33960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm0jS-0002I9-TY for grub-devel@gnu.org; Mon, 19 Sep 2016 11:43:47 -0400 Received: from 3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.1.b.e.2.f.f.b.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:bff2:eb14::3] helo=riva.pelham.vpn.ucam.org) by b.painless.aa.net.uk with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1bm0jQ-0004uM-Mr for grub-devel@gnu.org; Mon, 19 Sep 2016 16:43:45 +0100 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bm0jO-0003n5-SV for grub-devel@gnu.org; Mon, 19 Sep 2016 16:43:42 +0100 Date: Mon, 19 Sep 2016 16:43:41 +0100 From: Colin Watson To: The development of GNU GRUB Subject: Re: [PATCH] syslinux_test: Fix out-of-tree build handling Message-ID: <20160919154341.GA13998@riva.ucam.org> References: <20160918163349.GA7218@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.187.30.52 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 15:43:55 -0000 On Mon, Sep 19, 2016 at 04:17:38PM +0300, Andrei Borzenkov wrote: > Current GIT should support relative pathnames; this is better > solution. I had in mind syslinux test, but as you are working on it > anyway could you look at simply cd'ing into correct directory and > using relative pathnames everywhere? I tried, but I'm afraid that doesn't work; grub-syslinux2cfg still calls grub_canonicalize_file_name on its --root argument, and that produces a canonicalised absolute pathname, so the output still contains quite a few absolute paths. Given that, I think my previous patch is the simplest approach. -- Colin Watson [cjwatson@ubuntu.com]