Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqPE4-00063b-Mx for qemu-devel@nongnu.org; Sat, 13 Mar 2010 06:09:48 -0500 Received: from [199.232.76.173] (port=33464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqPE4-00063T-5M for qemu-devel@nongnu.org; Sat, 13 Mar 2010 06:09:48 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NqPE2-0000Su-Mu for qemu-devel@nongnu.org; Sat, 13 Mar 2010 06:09:47 -0500 Received: from hall.aurel32.net ([88.191.82.174]:40358) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NqPE2-0000SW-AW for qemu-devel@nongnu.org; Sat, 13 Mar 2010 06:09:46 -0500 Date: Sat, 13 Mar 2010 12:09:44 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] install: honor DESTDIR on sysconfdir population Message-ID: <20100313110944.GF26216@hall.aurel32.net> References: <1268059421-32759-1-git-send-email-andre.przywara@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1268059421-32759-1-git-send-email-andre.przywara@amd.com> Sender: Aurelien Jarno List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andre Przywara Cc: frank.arnold@amd.com, qemu-devel@nongnu.org On Mon, Mar 08, 2010 at 03:43:41PM +0100, Andre Przywara wrote: > When creating and populating $sysconfdir, we should prepend $DESTDIR > as we do with all other paths. > > Reported-by: Frank Arnold > Signed-off-by: Andre Przywara Thanks, applied. > --- > Makefile | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index bf2cef2..2066c12 100644 > --- a/Makefile > +++ b/Makefile > @@ -194,8 +194,8 @@ ifdef CONFIG_POSIX > endif > > install-sysconfig: > - $(INSTALL_DIR) "$(sysconfdir)/qemu" > - $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu" > + $(INSTALL_DIR) "$(DESTDIR)$(sysconfdir)/qemu" > + $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(sysconfdir)/qemu" > > install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig > $(INSTALL_DIR) "$(DESTDIR)$(bindir)" > -- > 1.6.4 > > > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net