[csw-maintainers] Adding files from /usr/lib/64/ won't work
Dagobert Michelsen
dam at opencsw.org
Tue Jul 2 12:17:15 CEST 2013
Hi Laurent,
Am 02.07.2013 um 12:07 schrieb Laurent Blume <laurent at opencsw.org>:
> 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.
Hum, IIRC there is no hook for that yet. The usual place for exclusion is
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/gar.pkg.mk#L509
but commondirs is something I am not really with anyway and as commondirs will
go away in "bratislava" anyway there is change ahead.
You may want to try EXTRA_PKGFILES_EXCLUDED in the pathfilter section
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/gar.pkg.mk#L513
with something like
EXTRA_PKGFILES_EXCLUDED += /usr/lib
but I am not sure if this really works as the filtering is quite complex.
Just drop me a note if it doesn't and I do some further analysis.
Best regards
-- Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
More information about the maintainers
mailing list