Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
On 12-08-08 09:25 AM, Phil Blundell wrote: On Wed, 2012-08-08 at 09:24 -0400, Yao Zhao wrote: I want both libz.a and libz.so* in /lib. I wrote a simple test case: cat Makefile all: gcc -c -fPIC -DPIC -o test.o test.c -g gcc -o libtest.so -shared test.o gcc -c -o te

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
On 12-08-07 02:35 PM, Derek Buitenhuis wrote: On 07/08/2012 2:30 PM, Yao Zhao wrote: zlib is not using autotools although it has configure. when install, oe_runmake will be make -e so Makefile will always use env's libdir which is the usr/libxx, we have to overwrite it when install. Perhaps you

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-08 Thread Phil Blundell
On Wed, 2012-08-08 at 09:24 -0400, Yao Zhao wrote: > I want both libz.a and libz.so* in /lib. > > I wrote a simple test case: > cat Makefile > all: > gcc -c -fPIC -DPIC -o test.o test.c -g > gcc -o libtest.so -shared test.o > gcc -c -o test_main.o test_main.c -g >

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
On 12-08-07 05:20 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 15:29 -0400, Yao Zhao wrote: On 12-08-07 02:45 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:43 -0400, Yao Zhao wrote: On 12-08-07 02:38 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: On 12-08-0

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Phil Blundell
On Tue, 2012-08-07 at 15:29 -0400, Yao Zhao wrote: > On 12-08-07 02:45 PM, Phil Blundell wrote: > > On Tue, 2012-08-07 at 14:43 -0400, Yao Zhao wrote: > >> On 12-08-07 02:38 PM, Phil Blundell wrote: > >>> On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: > On 12-08-07 02:30 PM, Phil Blundell

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 02:45 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:43 -0400, Yao Zhao wrote: On 12-08-07 02:38 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: On 12-08-07 02:30 PM, Phil Blundell wrote: Where do libz.a and libz.so end up after your patch? ├── zlib

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Phil Blundell
On Tue, 2012-08-07 at 14:43 -0400, Yao Zhao wrote: > On 12-08-07 02:38 PM, Phil Blundell wrote: > > On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: > >> On 12-08-07 02:30 PM, Phil Blundell wrote: > >>> Where do libz.a and libz.so end up after your patch? > >> ├── zlib-dev > >> │ ├── lib > >> │ │

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 02:38 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: On 12-08-07 02:30 PM, Phil Blundell wrote: Where do libz.a and libz.so end up after your patch? ├── zlib-dev │ ├── lib │ │ └── libz.so -> libz.so.1.2.7 └── zlib-staticdev └── lib └── libz.a I found t

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Phil Blundell
On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: > On 12-08-07 02:30 PM, Phil Blundell wrote: > > Where do libz.a and libz.so end up after your patch? > ├── zlib-dev > │ ├── lib > │ │ └── libz.so -> libz.so.1.2.7 > └── zlib-staticdev > └── lib > └── libz.a I found the output from "tree" a bit

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 02:30 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:30 -0400, Yao Zhao wrote: On 12-08-07 01:39 PM, Derek Buitenhuis wrote: On 07/08/2012 1:31 PM, Yao Zhao wrote: In order to fix the QA Issue for libpam which installed to /lib but reference /usr/libxx/libz and libcrack, install

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Derek Buitenhuis
On 07/08/2012 2:30 PM, Yao Zhao wrote: > zlib is not using autotools although it has configure. > when install, oe_runmake will be make -e so Makefile will always use > env's libdir which is the usr/libxx, we have to overwrite it when install. Perhaps you don't need to specify during configure th

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Phil Blundell
On Tue, 2012-08-07 at 14:30 -0400, Yao Zhao wrote: > On 12-08-07 01:39 PM, Derek Buitenhuis wrote: > > On 07/08/2012 1:31 PM, Yao Zhao wrote: > >> In order to fix the QA Issue for libpam which installed to /lib but > >> reference /usr/libxx/libz and libcrack, install libz and libcrack > >> to /lib.

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 01:39 PM, Derek Buitenhuis wrote: On 07/08/2012 1:31 PM, Yao Zhao wrote: In order to fix the QA Issue for libpam which installed to /lib but reference /usr/libxx/libz and libcrack, install libz and libcrack to /lib. OpenBSD puts libpam.so in /lib, so it seems kosher... do_instal

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Koen Kooi
Op 7 aug. 2012, om 19:31 heeft Yao Zhao het volgende geschreven: > In order to fix the QA Issue for libpam which installed to /lib but > reference /usr/libxx/libz and libcrack, install libz and libcrack > to /lib. > > Signed-off-by: Yao Zhao > --- > meta/recipes-core/zlib/zlib_1.2.7.bb

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Derek Buitenhuis
On 07/08/2012 1:31 PM, Yao Zhao wrote: > In order to fix the QA Issue for libpam which installed to /lib but > reference /usr/libxx/libz and libcrack, install libz and libcrack > to /lib. OpenBSD puts libpam.so in /lib, so it seems kosher... > do_install() { > - oe_runmake DESTDIR=${D} insta

[OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
In order to fix the QA Issue for libpam which installed to /lib but reference /usr/libxx/libz and libcrack, install libz and libcrack to /lib. Signed-off-by: Yao Zhao --- meta/recipes-core/zlib/zlib_1.2.7.bb |8 ++-- meta/recipes-extended/cracklib/cracklib_2.8.19.bb |2 +