Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id D84D077056 for ; Wed, 14 Oct 2015 02:51:15 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id t9E2pFuf024927 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 13 Oct 2015 19:51:15 -0700 (PDT) Received: from pek-kkang-d2.wrs.com (128.224.163.135) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Tue, 13 Oct 2015 19:51:15 -0700 From: To: Date: Wed, 14 Oct 2015 10:51:31 +0800 Message-ID: <1444791091-27572-1-git-send-email-jackie.huang@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [meta-oe][PATCH] polkit: fix an incomplete patch X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2015 02:51:16 -0000 Content-Type: text/plain From: Jackie Huang The patch 0001-do-not-hardcoded-libdir.patch to fix libprivdir is incomplete, it missed to fix the one in data/Makefile.am, and causes failure: systemd[676]: polkit.service: Failed at step EXEC spawning /usr/lib/polkit-1/polkitd: No such file or directory Signed-off-by: Jackie Huang --- .../polkit/0001-do-not-hardcoded-libdir.patch | 31 ++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch index e605e30..21ef578 100644 --- a/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch +++ b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch @@ -1,6 +1,6 @@ -From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001 -From: Zhenhua Luo -Date: Mon, 4 May 2015 04:11:27 -0500 +From fd07fbf131e31124094d9123091604dd32726750 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Wed, 14 Oct 2015 10:30:12 +0800 Subject: [PATCH] do not hardcoded libdir Upstream-Status: Pending @@ -8,13 +8,28 @@ Upstream-Status: Pending libdir is hardcoded to ${prefix}/lib, but we want it to support multilib Signed-off-by: Chunrong Guo +Signed-off-by: Jackie Huang --- - polkitagent/Makefile.am | 2 +- - polkitbackend/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) + data/Makefile.am | 2 +- + src/polkitagent/Makefile.am | 2 +- + src/polkitbackend/Makefile.am | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) +diff --git a/data/Makefile.am b/data/Makefile.am +index fe0f1d5..52cb4b4 100644 +--- a/data/Makefile.am ++++ b/data/Makefile.am +@@ -2,7 +2,7 @@ + + NULL = + +-libprivdir = $(prefix)/lib/polkit-1 ++libprivdir = $(libdir)/polkit-1 + + # ---------------------------------------------------------------------------------------------------- + diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am -index 3bc364e..7d1ac0e 100644 +index 58a55bd..1b6156b 100644 --- a/src/polkitagent/Makefile.am +++ b/src/polkitagent/Makefile.am @@ -78,7 +78,7 @@ libpolkit_agent_1_la_LIBADD = \ @@ -27,7 +42,7 @@ index 3bc364e..7d1ac0e 100644 polkit_agent_helper_1_SOURCES = \ diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am -index 9f430d0..1f7610b 100644 +index 547ca82..78ed934 100644 --- a/src/polkitbackend/Makefile.am +++ b/src/polkitbackend/Makefile.am @@ -67,7 +67,7 @@ rules_DATA = 50-default.rules -- 1.9.1