[yocto] Understanding "dev package contains non-symlink"

Andre McCurdy armccurdy at gmail.com
Fri Jul 6 15:08:35 PDT 2018


On Fri, Jul 6, 2018 at 2:10 PM, Giordon Stark <kratsg at gmail.com> wrote:
> Hi,
>
> So the good news is that this is at least the source code itself appears to
> be written in a packaged-up-manner which makes some things easier to deal
> with. It seems that all of the plugins are here:
> https://github.com/xrootd/xrootd/blob/dad82068ae99859ebf40f65d95fe7c44f7db057e/src/XrdPlugins.cmake
>
> where it seems to install to
>
> install(
>   TARGETS ${LIB_XRD_PSS} ${LIB_XRD_BWM} ${LIB_XRD_GPFS} ${LIB_XRD_ZCRC32}
> ${LIB_XRD_THROTTLE} ${LIB_XRD_N2NO2P}
>   LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
>
> While all other "non-plugins" also install to the same
> "CMAKE_INSTALL_LIBDIR". I suppose it might be possible to patch this one
> particular file to get the installs in a separate location? This seems like
> potentially a short patch given that all plug-ins, from a cursory glance,
> are installed with the same CMake instruction...
>
> If not, I would be ok with adding
>
> INSANE_SKIP_${PN} += "dev-so"
>
> to my recipe along with the other two lines I've added (one to erase the
> so-libs pattern for ${PN}-dev, and one to force all the *.so libs into
> ${PN}).
>
> Would a third option be to just manually write out my ${PN} and ${PN}-dev
> files to split up which are symlinks and which are not -- given that I'm
> writing this recipe for a given version/configuration?

Yes, that should be OK.


More information about the yocto mailing list