[csw-devel] SF.net SVN: gar:[14648] csw/mgar/pkg/alternatives/trunk/README

theferret at users.sourceforge.net theferret at users.sourceforge.net
Wed May 25 20:03:41 CEST 2011


Revision: 14648
          http://gar.svn.sourceforge.net/gar/?rev=14648&view=rev
Author:   theferret
Date:     2011-05-25 18:03:41 +0000 (Wed, 25 May 2011)

Log Message:
-----------
alternatives: minor comments added to README

Modified Paths:
--------------
    csw/mgar/pkg/alternatives/trunk/README

Modified: csw/mgar/pkg/alternatives/trunk/README
===================================================================
--- csw/mgar/pkg/alternatives/trunk/README	2011-05-25 16:00:54 UTC (rev 14647)
+++ csw/mgar/pkg/alternatives/trunk/README	2011-05-25 18:03:41 UTC (rev 14648)
@@ -5,3 +5,22 @@
 did not play nicely with NFS-shared /opt/csw
 So pleaes dont go getting ideas that we can migrated back to redhat,etc
 in the future! :) we tried, and it failed.
+
+
+Internal implementation notes:
+
+ My initial version seems to expect each "alternative" to have its own
+file in /opt/csw/share/alternatives/xyz.
+One line per file only would be nice, please
+
+When a choice is manually set (overriding auto settings), it records that
+fact by making a symlink from the shipped file, to 
+/etc/opt/csw/alternatives/(progname)
+
+This way, you can have the binary, and alternatives files per software,
+NFS-shared, but then have machine-local overrides.
+
+Reminder: Do NOT have to get fancy with the class action script not 
+ getting called with pathnames on sparse zones with pkg-inherit-dir,
+ because since /opt/csw is shared, the symlink will already be in place.
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list