[csw-maintainers] Adding files from /usr/lib/64/ won't work

Laurent Blume laurent at opencsw.org
Tue Jul 2 12:07:39 CEST 2013


On 02/07/13 10:54, Dagobert Michelsen wrote:
> You should install in /usr/lib/64 and set
>    EXTRA_MERGE_DIRS_isa-extra += /usr/lib
>
> This will relocate /usr/lib/64 to /usr/lib/amd64 and /usr/lib/sparcv9.
>
> I know this is complex, but I am only responsible for the implementation,
> not the concept ;-)

Haha, no, it's quite logical, actually I had tried first with lib/64, 
then when it was not working, used the arch names.

Okay, we've almost got a winner there:

$ more CSWsamba-nss-system-links.prototype
d none /opt/csw/share/doc/samba_nss_system_links 0755 root bin
f none /opt/csw/share/doc/samba_nss_system_links/license 0644 root bin
d none /usr/lib 0755 root bin
d none /usr/lib/amd64 0755 root bin
s none 
/usr/lib/amd64/nss_winbind_csw.so.1=../../../opt/csw/lib/64/nss_winbind.so.1
s none 
/usr/lib/amd64/nss_wins_csw.so.1=../../../opt/csw/lib/64/nss_wins.so.1
s none /usr/lib/nss_winbind_csw.so.1=../../opt/csw/lib/nss_winbind.so.1
s none /usr/lib/nss_wins_csw.so.1=../../opt/csw/lib/nss_wins.so.1
i checkpkg_override=checkpkg_override.CSWsamba-nss-system-links

One little thing: is it possible to avoid including the directories? 
/usr/lib, /usr/lib/amd64? To avoid any potential conflict with the 
system's idea of what it should be.

Laurent


More information about the maintainers mailing list