From: akuster808 <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][fido][PATCH] polkit: do not hardcode the libdir
Date: Tue, 21 Jul 2015 07:42:02 -0700 [thread overview]
Message-ID: <55AE5A3A.5040209@gmail.com> (raw)
In-Reply-To: <1430733225-30477-1-git-send-email-b40290@freescale.com>
merged to staging.
- armin
On 05/04/2015 02:53 AM, b40290@freescale.com wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
> libdir is defined as ${prefix}/lib/, but we want it to support multilib path
>
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
> ---
> .../polkit/0001-do-not-hardcoded-libdir.patch | 44 ++++++++++++++++++++++
> meta-oe/recipes-extended/polkit/polkit_0.112.bb | 1 +
> 2 files changed, 45 insertions(+)
> create mode 100644 meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
>
> 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
> new file mode 100644
> index 0000000..3ccedcd
> --- /dev/null
> +++ b/meta-oe/recipes-extended/polkit/polkit/0001-do-not-hardcoded-libdir.patch
> @@ -0,0 +1,44 @@
> +From c9e09d9b101109832b1dcb050f0c8b588e276686 Mon Sep 17 00:00:00 2001
> +From: Zhenhua Luo <zhenhua.luo@freescale.com>
> +Date: Mon, 4 May 2015 04:11:27 -0500
> +Subject: [PATCH] do not hardcoded libdir
> +
> +Upstream-Status: Pending
> +
> +libdir is hardcoded to ${prefix}/lib, but we want it to support multilib
> +
> +Signed-off-by: Chunrong Guo <B40290@freescale.com>
> +---
> + polkitagent/Makefile.am | 2 +-
> + polkitbackend/Makefile.am | 2 +-
> + 2 files changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
> +index 3bc364e..7d1ac0e 100644
> +--- a/src/polkitagent/Makefile.am
> ++++ b/src/polkitagent/Makefile.am
> +@@ -78,7 +78,7 @@ libpolkit_agent_1_la_LIBADD = \
> +
> + libpolkit_agent_1_la_LDFLAGS = -export-symbols-regex '(^polkit_.*)'
> +
> +-libprivdir = $(prefix)/lib/polkit-1
> ++libprivdir = $(prefix)/${base_libdir}/polkit-1
> + libpriv_PROGRAMS = polkit-agent-helper-1
> +
> + polkit_agent_helper_1_SOURCES = \
> +diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am
> +index 9f430d0..1f7610b 100644
> +--- a/src/polkitbackend/Makefile.am
> ++++ b/src/polkitbackend/Makefile.am
> +@@ -67,7 +67,7 @@ rules_DATA = 50-default.rules
> +
> + # ----------------------------------------------------------------------------------------------------
> +
> +-libprivdir = $(prefix)/lib/polkit-1
> ++libprivdir = $(prefix)/${base_libdir}/polkit-1
> + libpriv_PROGRAMS = polkitd
> +
> + polkitd_SOURCES = \
> +--
> +2.3.3
> +
> diff --git a/meta-oe/recipes-extended/polkit/polkit_0.112.bb b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
> index 72b182b..f20e1a4 100644
> --- a/meta-oe/recipes-extended/polkit/polkit_0.112.bb
> +++ b/meta-oe/recipes-extended/polkit/polkit_0.112.bb
> @@ -21,6 +21,7 @@ PAM_SRC_URI = "file://polkit-1_pam.patch"
> SRC_URI = "http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
> ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
> file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
> + file://0001-do-not-hardcoded-libdir.patch \
> "
>
> SRC_URI[md5sum] = "b0f2fa00a55f47c6a5d88e9b73f80127"
>
next prev parent reply other threads:[~2015-07-21 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 9:53 [meta-oe][fido][PATCH] polkit: do not hardcode the libdir b40290
2015-07-21 14:42 ` akuster808 [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-05-14 2:31 b40290
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55AE5A3A.5040209@gmail.com \
--to=akuster808@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox