* [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir
@ 2011-08-23 14:32 Dongxiao Xu
2011-08-23 14:32 ` [PATCH 1/1] procps: Fix lib path to support multilib Dongxiao Xu
2011-08-24 23:33 ` [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Dongxiao Xu @ 2011-08-23 14:32 UTC (permalink / raw)
To: openembedded-core
Hi Richard and Saul,
This is the second pull request that fixes the hardcoded libdir in procps to support multilib.
Please help to review and pull.
Thanks,
Dongxiao
The following changes since commit 9134800548a03bfe3a7e351a15f2129bcb3cc680:
xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds (2011-08-19 16:27:29 -0700)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/multilib
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/multilib
Dongxiao Xu (1):
procps: Fix lib path to support multilib
.../procps/procps-3.2.8/install.patch | 30 +++++++++++++------
meta/recipes-extended/procps/procps_3.2.8.bb | 8 ++--
2 files changed, 24 insertions(+), 14 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] procps: Fix lib path to support multilib
2011-08-23 14:32 [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir Dongxiao Xu
@ 2011-08-23 14:32 ` Dongxiao Xu
2011-08-24 23:33 ` [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Dongxiao Xu @ 2011-08-23 14:32 UTC (permalink / raw)
To: openembedded-core
Revise the install.patch which hardcode the lib paths.
Change ${PN} to ${BPN} in file names.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
.../procps/procps-3.2.8/install.patch | 30 +++++++++++++------
meta/recipes-extended/procps/procps_3.2.8.bb | 8 ++--
2 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/meta/recipes-extended/procps/procps-3.2.8/install.patch b/meta/recipes-extended/procps/procps-3.2.8/install.patch
index b52a2c9..2a59a5f 100644
--- a/meta/recipes-extended/procps/procps-3.2.8/install.patch
+++ b/meta/recipes-extended/procps/procps-3.2.8/install.patch
@@ -1,20 +1,30 @@
Upstream-Status: Inappropriate [configuration]
---- procps-3.2.5.virgin/Makefile 2005-01-26 05:55:26.000000000 +0100
-+++ procps-3.2.5/Makefile 2005-08-03 04:55:26.346984488 +0200
-@@ -30,7 +30,10 @@
+diff -ruN procps-3.2.8-orig//Makefile procps-3.2.8/Makefile
+--- procps-3.2.8-orig//Makefile 2011-08-23 22:06:46.471163999 +0800
++++ procps-3.2.8/Makefile 2011-08-23 22:15:01.091163999 +0800
+@@ -29,9 +29,6 @@
+ ln_sf := ln -sf
install := install -D --owner 0 --group 0
- # Lame x86-64 /lib64 and /usr/lib64 abomination:
+-# Lame x86-64 /lib64 and /usr/lib64 abomination:
-lib64 := lib$(shell [ -d /lib64 ] && echo 64)
-+# lib64 := lib$(shell [ -d /lib64 ] && echo 64)
-+
-+# Equally lame hack to work around makefile lameness when the host arch is 64bit, but the target is not.
-+lib64 := lib
-
+-
usr/bin := $(DESTDIR)/usr/bin/
bin := $(DESTDIR)/bin/
-@@ -211,10 +214,10 @@
+ sbin := $(DESTDIR)/sbin/
+@@ -39,8 +36,8 @@
+ man1 := $(DESTDIR)/usr/share/man/man1/
+ man5 := $(DESTDIR)/usr/share/man/man5/
+ man8 := $(DESTDIR)/usr/share/man/man8/
+-lib := $(DESTDIR)/$(lib64)/
+-usr/lib := $(DESTDIR)/usr/$(lib64)/
++lib := $(DESTDIR)/$(base_libdir)/
++usr/lib := $(DESTDIR)/$(libdir)/
+ usr/include := $(DESTDIR)/usr/include/
+
+ #SKIP := $(bin)kill $(man1)kill.1
+@@ -222,10 +219,10 @@
###### install
$(BINFILES) : all
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb
index b1a7de7..a38077e 100644
--- a/meta/recipes-extended/procps/procps_3.2.8.bb
+++ b/meta/recipes-extended/procps/procps_3.2.8.bb
@@ -1,6 +1,6 @@
require procps.inc
-PR = "r1"
+PR = "r2"
inherit update-rc.d update-alternatives
@@ -22,10 +22,10 @@ SRC_URI += "file://procmodule.patch \
SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0"
SRC_URI[sha256sum] = "11ed68d8a4433b91cd833deb714a3aa849c02aea738c42e6b4557982419c1535"
-FILES = "${bindir}/top.${PN} ${base_bindir}/ps.${PN} ${bindir}/uptime.${PN} ${base_bindir}/kill.${PN} \
- ${bindir}/free.${PN} ${bindir}/w ${bindir}/watch ${bindir}/pgrep ${bindir}/pmap ${bindir}/pwdx \
+FILES = "${bindir}/top.${BPN} ${base_bindir}/ps.${BPN} ${bindir}/uptime.${BPN} ${base_bindir}/kill.${BPN} \
+ ${bindir}/free.${BPN} ${bindir}/w ${bindir}/watch ${bindir}/pgrep ${bindir}/pmap ${bindir}/pwdx \
${bindir}/snice ${bindir}/vmstat ${bindir}/slabtop ${bindir}/pkill ${bindir}/skill ${bindir}/tload \
- ${base_sbindir}/sysctl.${PN}"
+ ${base_sbindir}/sysctl.${BPN}"
CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir
2011-08-23 14:32 [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir Dongxiao Xu
2011-08-23 14:32 ` [PATCH 1/1] procps: Fix lib path to support multilib Dongxiao Xu
@ 2011-08-24 23:33 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-08-24 23:33 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 08/23/2011 07:32 AM, Dongxiao Xu wrote:
> Hi Richard and Saul,
>
> This is the second pull request that fixes the hardcoded libdir in procps to support multilib.
> Please help to review and pull.
>
> Thanks,
> Dongxiao
>
>
> The following changes since commit 9134800548a03bfe3a7e351a15f2129bcb3cc680:
>
> xcb/libpthreads: Add BBCLASSEXTEND to resolve missing providers in world builds (2011-08-19 16:27:29 -0700)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib dxu4/multilib
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/multilib
>
> Dongxiao Xu (1):
> procps: Fix lib path to support multilib
>
> .../procps/procps-3.2.8/install.patch | 30 +++++++++++++------
> meta/recipes-extended/procps/procps_3.2.8.bb | 8 ++--
> 2 files changed, 24 insertions(+), 14 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-24 23:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23 14:32 [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir Dongxiao Xu
2011-08-23 14:32 ` [PATCH 1/1] procps: Fix lib path to support multilib Dongxiao Xu
2011-08-24 23:33 ` [PATCH 0/1 v2][PULL] procps: fix hardcoded libdir Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox