polkit: fix an incomplete patch
PATCH 1/1 polkit: fix an incomplete patch
From: Jackie Huang <[email protected]>
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
--- .../polkit/0001-do-not-hardcoded-libdir.patch | 31 ++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-)
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch +23 -8
@@ -1,6 +1,6 @@ -From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001 -From: Zhenhua Luo <[email protected]> -Date: Mon, 4 May 2015 04:11:27 -0500 +From fd07fbf131e31124094d9123091604dd32726750 Mon Sep 17 00:00:00 2001 +From: Jackie Huang <[email protected]> +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 <[email protected]> +Signed-off-by: Jackie Huang <[email protected]> --- - 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
Signature · 1 line
1.9.1
Quoted 6 lines · On Wed, Oct 14, 2015 at 10:51:31AM +0800, [email protected] wrote:
From: Jackie Huang <[email protected]>
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:
Quoted 6 lines
systemd[676]: polkit.service: Failed at step EXEC spawning
/usr/lib/polkit-1/polkitd: No such file or directorySigned-off-by Jackie Huang <[email protected]>--- .../polkit/0001-do-not-hardcoded-libdir.patch | 31 ++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-)
error:meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch:
does not exist in index
It was removed in:
commit f86ba9a5583d3b493651134bf710d28dd6509765
Author: Reinette Chatre <[email protected]> Date: Thu Sep 24 15:03:01 2015 -0700
polkit: fix relocation of polkit binaries
Quoted 65 lines
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch +23
-8@@ -1,6 +1,6 @@ -From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001 -From: Zhenhua Luo <[email protected]> -Date: Mon, 4 May 2015 04:11:27 -0500 +From fd07fbf131e31124094d9123091604dd32726750 Mon Sep 17 00:00:00 2001 +From: Jackie Huang <[email protected]> +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 <[email protected]> +Signed-off-by: Jackie Huang <[email protected]> --- - 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.rulesSignature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 28 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, October 14, 2015 7:26 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH] polkit: fix an incomplete patchQuoted 6 lines · On Wed, Oct 14, 2015 at 10:51:31AM +0800, [email protected] wrote:
From: Jackie Huang <[email protected]>
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:
Quoted 7 lines
systemd[676]: polkit.service: Failed at step EXEC spawning
/usr/lib/polkit-1/polkitd: No such file or directorySigned-off-by Jackie Huang <[email protected]>--- .../polkit/0001-do-not-hardcoded-libdir.patch | 31 ++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-)error:
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch:
does not exist in index
Quoted 6 lines
It was removed in:
commitf86ba9a5583d3b493651134bf710d28dd6509765Author: Reinette Chatre <[email protected]> Date: Thu Sep 24 15:03:01 2015 -0700polkit: fix relocation of polkit binaries
Ok, I see, please skip it.
Thanks,
Jackie
Quoted 80 lines
Quoted 72 lines
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-lib +++ dir.patch(quoted diff) +0
-1@@ -1,6 +1,6 @@ -From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:002001
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch +4
-2-From: Zhenhua Luo <[email protected]> -Date: Mon, 4 May 2015 04:11:27 -0500 +From fd07fbf131e31124094d9123091604dd32726750 Mon Sep 17 00:00:00 +2001 +From: Jackie Huang <[email protected]> +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 <[email protected]>meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch +20
-3+Signed-off-by: Jackie Huang <[email protected]> --- - 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.amb/src/polkitagent/Makefile.am -index 3bc364e..7d1ac0e 100644
meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch +1
-0+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.amb/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.1Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Martin 'JaMa' Jansa jabber: [email protected]