Skip to contentSkip to conversation

lib*.so in FILES_${PN}

DISCUSSION Phil Blundell 3 participants 4 messages Jun 13, 2009 – Jun 15, 2009

lore
Share & tools
lore
#0 lore raw

This recent checkin:

http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=ba434bd1dc9dc8ed61953a1579ea9e993e81cbb2

added ${base_libdir}/lib*.so to the default FILES_${PN}, on the grounds that this is necessary to get procps packaged correctly.

However, I think this cure is worse than the original disease, in that it's now virtually impossible to prevent *.so development symlinks (which obviously belong in ${PN}-dev) from leaking into ${PN}. This situation is particularly bad if ${base_libdir} and ${libdir} are the same, since you then end up with a useless .so symlink being installed in your rootfs for virtually every library on the system.

I propose to revert the patch in question, and instead just let procps.bb adjust its own local setting of FILES as necessary.

Comments?

p.

#1 lore raw

Hello Phil,

Quoted 3 lines · Phil Blundell

I propose to revert the patch in question, and instead just let procps.bb adjust its own local setting of FILES as necessary.

Agreed,

Signature · 1 line
Leon
#2 lore raw
In reply to Phil Blundell
Quoted 14 lines · Phil Blundell

This recent checkin:

http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=ba434bd1dc9dc8ed61953a1579ea9e993e81cbb2

added ${base_libdir}/lib*.so to the default FILES_${PN}, on the grounds that this is necessary to get procps packaged correctly.

However, I think this cure is worse than the original disease, in that it's now virtually impossible to prevent *.so development symlinks (which obviously belong in ${PN}-dev) from leaking into ${PN}. This situation is particularly bad if ${base_libdir} and ${libdir} are the same, since you then end up with a useless .so symlink being installed in your rootfs for virtually every library on the system.

Quoted 4 lines

I propose to revert the patch in question, and instead just let procps.bb adjust its own local setting of FILES as necessary.

Comments?

Agreed, that shouldn't be a default.

Richard

#3 lore raw
Quoted 5 lines · Richard Purdie
Quoted 2 lines · Phil Blundell

I propose to revert the patch in question, and instead just let procps.bb adjust its own local setting of FILES as necessary.

Agreed, that shouldn't be a default.

Thanks to you and Leon for the feedback. I've reverted that patch now.

p.