Hi all,

(This is for after OpenSolaris 2009.06).

Looking for a code review of the proposed fix for bug #6088:

 http://defect.opensolaris.org/bz/show_bug.cgi?id=6088
 SVr4 datastream bundles don't convert links (hard or soft)

Webrev is at:

 http://cr.opensolaris.org/~richb/pkg-6088-v1/

Local (internal) repository is at:

 http://stard.sfbay.sun.com:26088

Tested by publishing a package to a local repository, both without an
with the patch applied:

$ export PYTHONPATH=/export/home/richb/pkg/bugs/6088/gate/proto/root_i386/usr/lib/python2.4/vendor-packages $ (cd /export/home/richb/pkg/bugs/6088/gate/proto/root_i386/usr/bin; ./pkgsend -s http://stard.sfbay.sun.com:26088 open [email protected]) $ export PKG_TRANS_ID=1241448922_pkg%3A%2FGCC432%404.3.2%2C5.11%3A20090504T145522Z $ (cd /export/home/richb/pkg/bugs/6088/gate/proto/root_i386/usr/bin; ./pkgsend -s http://stard.sfbay.sun.com:26088 import GCC432.pkg) $ (cd /export/home/richb/pkg/bugs/6088/gate/proto/root_i386/usr/bin; ./pkgsend -s http://stard.sfbay.sun.com:26088 close)
 PUBLISHED
 pkg:/[email protected],5.11:20090504T145522Z

For the package with the latest timestamp, you'll notice the links are
now included:

...
hardlink path=usr/bin/c++-4.3.2 target=g++-4.3.2
hardlink path=usr/bin/i386-pc-solaris2.11-c++-4.3.2 target=g++-4.3.2
hardlink path=usr/bin/i386-pc-solaris2.11-g++-4.3.2 target=g++-4.3.2
hardlink path=usr/bin/i386-pc-solaris2.11-gcc-4.3.2 target=gcc-4.3.2
hardlink path=usr/bin/i386-pc-solaris2.11-gfortran-4.3.2 target=gfortran-4.3.2
...

Thanks.

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to