From: Yao Zhao <yao.zhao@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx
Date: Tue, 7 Aug 2012 14:35:53 -0400 [thread overview]
Message-ID: <50216009.6020601@windriver.com> (raw)
In-Reply-To: <1344364223.4874.16.camel@x121e.pbcl.net>
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 libz and libcrack
>>>> to /lib.
>>> OpenBSD puts libpam.so in /lib, so it seems kosher...
>>>
>>>> do_install() {
>>>> - oe_runmake DESTDIR=${D} install
>>>> + #libz.a installs to libdir, overwrite the env libdir
>>>> + #install pkgconfig to env libdir/pkgconfig
>>>> + oe_runmake DESTDIR=${D} pkgconfigdir="${libdir}/pkgconfig" \
>>>> + libdir="${base_libdir}" install
>>>> }
>>> If you're specifying --libdir when configuring, why do you need
>>> libdir during make, as well?
>> 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.
> Where do libz.a and libz.so end up after your patch?
packages-split$ tree
.
├── zlib
│ └── lib
│ ├── libz.so.1 -> libz.so.1.2.7
│ └── libz.so.1.2.7
├── zlib-dbg
│ ├── lib
│ └── usr
│ └── src
│ └── debug
│ └── zlib-1.2.7-r0
│ └── zlib-1.2.7
│ ├── adler32.c
│ ├── compress.c
│ ├── crc32.c
│ ├── crc32.h
│ ├── deflate.c
│ ├── deflate.h
│ ├── gzclose.c
│ ├── gzguts.h
│ ├── gzlib.c
│ ├── gzread.c
│ ├── gzwrite.c
│ ├── infback.c
│ ├── inffast.c
│ ├── inffast.h
│ ├── inffixed.h
│ ├── inflate.c
│ ├── inflate.h
│ ├── inftrees.c
│ ├── inftrees.h
│ ├── trees.c
│ ├── trees.h
│ ├── uncompr.c
│ ├── zconf.h
│ ├── zlib.h
│ ├── zutil.c
│ └── zutil.h
├── zlib-dev
│ ├── lib
│ │ └── libz.so -> libz.so.1.2.7
│ └── usr
│ ├── include
│ │ ├── zconf.h
│ │ └── zlib.h
│ └── lib
│ └── pkgconfig
│ └── zlib.pc
├── zlib-doc
│ └── usr
│ └── share
│ └── man
│ └── man3
│ └── zlib.3
├── zlib-locale
├── zlib.shlibdeps
└── zlib-staticdev
└── lib
└── libz.a
cracklib
├── lib
│ ├── libcrack.so.2 -> libcrack.so.2.8.1
│ └── libcrack.so.2.8.1
└── usr
├── sbin
│ ├── cracklib-check
│ ├── cracklib-format
│ ├── cracklib-packer
│ ├── cracklib-unpacker
│ └── create-cracklib-dict
└── share
└── cracklib
├── cracklib.magic
└── cracklib-small
cracklib-staticdev/
└── lib
└── libcrack.a
usr/sbin/* reference lib should be fine, so I didn't change that part.
yao
> p.
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
next prev parent reply other threads:[~2012-08-07 18:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 17:31 [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx Yao Zhao
2012-08-07 17:39 ` Derek Buitenhuis
2012-08-07 18:30 ` Yao Zhao
2012-08-07 18:30 ` Phil Blundell
2012-08-07 18:35 ` Yao Zhao [this message]
2012-08-07 18:38 ` Phil Blundell
2012-08-07 18:43 ` Yao Zhao
2012-08-07 18:45 ` Phil Blundell
2012-08-07 19:29 ` Yao Zhao
2012-08-07 21:20 ` Phil Blundell
2012-08-08 13:24 ` Yao Zhao
2012-08-08 13:25 ` Phil Blundell
2012-08-08 13:36 ` Yao Zhao
2012-08-07 18:35 ` Derek Buitenhuis
2012-08-08 13:26 ` Yao Zhao
2012-08-07 18:17 ` Koen Kooi
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=50216009.6020601@windriver.com \
--to=yao.zhao@windriver.com \
--cc=openembedded-core@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