On Wed, 2006-08-23 at 16:19 -0700, K. Richard Pixley wrote:

> Also, having set up an sbrsh configuration, is there and easy way to 
> wrap that up for sharing?  Or am I just stuck with writing up 
> instructions so that everyone else can configure their own?  Or 
> something else?

You can give them the target-specific sbrsh configuration
file /targets/TARGET.sbrsh which they have to copy to the correct
location.

The configuration file can also be located at ~/.sbrsh, but then it must
contain configuration for all targets (which don't have their own
configuration files).

There is one way which satisfies your requirements but may or may not
work:  Install the sbrsh configuration file
to /scratchbox/etc/sbrsh.conf from a Debian package and
modify /scratchbox/etc/profile to export
_SBOX_USER_SBRSH_CONFIG=/scratchbox/etc/sbrsh.conf .  The latter
modification could perhaps be accomplished using the dpkg diversion
mechanism (of which Í know nothing).  Or then all users just have to
export this in their .bashrc.  Or simply just copy the sbrsh config to
the correct location and forget about all this nonsense. :)

timo


_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to