From patchwork Mon Mar 8 14:43:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 47118 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 47FDDB7CF0 for ; Tue, 9 Mar 2010 01:55:14 +1100 (EST) Received: from localhost ([127.0.0.1]:48655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoeIP-0004qg-Rv for incoming@patchwork.ozlabs.org; Mon, 08 Mar 2010 09:51:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoeH2-0004pm-Ii for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:36 -0500 Received: from [199.232.76.173] (port=56154 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoeH2-0004pR-0b for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:36 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NoeGz-0003b9-UW for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:35 -0500 Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15]:39294 helo=TX2EHSOBE010.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1NoeGz-0003ah-KY for qemu-devel@nongnu.org; Mon, 08 Mar 2010 09:49:33 -0500 Received: from mail178-tx2-R.bigfish.com (10.9.14.244) by TX2EHSOBE010.bigfish.com (10.9.40.30) with Microsoft SMTP Server id 8.1.240.5; Mon, 8 Mar 2010 14:49:32 +0000 Received: from mail178-tx2 (localhost [127.0.0.1]) by mail178-tx2-R.bigfish.com (Postfix) with ESMTP id C2E03DE0451; Mon, 8 Mar 2010 14:49:31 +0000 (UTC) X-SpamScore: -4 X-BigFish: VPS-4(zz936eMab9bhzz1202hzzz32i6bh2a8h64h) Received: from mail178-tx2 (localhost.localdomain [127.0.0.1]) by mail178-tx2 (MessageSwitch) id 1268059759248770_27380; Mon, 8 Mar 2010 14:49:19 +0000 (UTC) Received: from TX2EHSMHS017.bigfish.com (unknown [10.9.14.242]) by mail178-tx2.bigfish.com (Postfix) with ESMTP id 87998AA80BB; Mon, 8 Mar 2010 14:49:18 +0000 (UTC) Received: from ausb3extmailp02.amd.com (163.181.251.22) by TX2EHSMHS017.bigfish.com (10.9.99.117) with Microsoft SMTP Server (TLS) id 14.0.482.39; Mon, 8 Mar 2010 14:49:15 +0000 Received: from ausb3twp01.amd.com (ausb3twp01.amd.com [163.181.250.37]) by ausb3extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with SMTP id o28EkrcI005447; Mon, 8 Mar 2010 08:46:56 -0600 X-WSS-ID: 0KYYWVV-01-1KC-02 X-M-MSG: Received: from sausexhtp02.amd.com (sausexhtp02.amd.com [163.181.3.152]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ausb3twp01.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP id 25FC310284B5; Mon, 8 Mar 2010 08:43:07 -0600 (CST) Received: from storexhtp01.amd.com (172.24.4.3) by sausexhtp02.amd.com (163.181.3.152) with Microsoft SMTP Server (TLS) id 8.2.234.1; Mon, 8 Mar 2010 08:43:10 -0600 Received: from storexmb1.amd.com (10.1.1.14) by storexhtp01.amd.com (172.24.4.3) with Microsoft SMTP Server id 8.2.234.1; Mon, 8 Mar 2010 06:43:09 -0800 Received: from sausexmb1.amd.com ([163.181.3.156]) by storexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Mar 2010 09:43:08 -0500 Received: from seurexmb1.amd.com ([165.204.9.130]) by sausexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Mar 2010 08:43:08 -0600 Received: from gwo.osrc.amd.com ([165.204.16.204]) by seurexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Mar 2010 15:43:02 +0100 Received: from localhost.localdomain (tronje.osrc.amd.com [165.204.15.48]) by gwo.osrc.amd.com (Postfix) with ESMTP id 3FFB749C14F; Mon, 8 Mar 2010 14:43:02 +0000 (GMT) From: Andre Przywara To: Anthony Liguori Date: Mon, 8 Mar 2010 15:43:41 +0100 Message-ID: <1268059421-32759-1-git-send-email-andre.przywara@amd.com> X-Mailer: git-send-email 1.6.4 X-OriginalArrivalTime: 08 Mar 2010 14:43:02.0443 (UTC) FILETIME=[A7B0B7B0:01CABECD] MIME-Version: 1.0 X-Reverse-DNS: ausb3extmailp02.amd.com X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ Cc: frank.arnold@amd.com, qemu-devel@nongnu.org, Andre Przywara Subject: [Qemu-devel] [PATCH] install: honor DESTDIR on sysconfdir population X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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)"