Re: [9fans] persuade contrib/install to work

2009-05-27 Thread Rudolf Sykora
OK. So I changed the line

from
 /dist/replica/contrib:7: fn servermount { 9fs sources }
to
/dist/replica/contrib:7: fn servermount { test -d /n/sources/plan9 ||
9fs sources }

and it seems to work as wanted...
thanks to all

Ruda

2009/5/27 Federico G. Benavento benave...@gmail.com:
 I think it would be better for contrib to do something
 like test -d /n/sources/plan9 || 9fs sources

 yes, it makes sense, though this change will only affect
 the packages installed after the changes was applied

 9fs sources
 should probably mount sources, always.

 yep



 --
 Federico G. Benavento





[9fans] persuade contrib/install to work

2009-05-26 Thread Rudolf Sykora
Hello,

since I somehow still can't connect to the 'central sources' and want
to make some progress, I tried to follow some of your recent advices.
Instead of '9fs sources' I do

9fs sources.lsub.org
cd /n
bind sources.lsub.org/sources sources

so now it seems I have the state similar to after just '9fs sources'.
Now I'd like to do e.g.

contrib/install fgb/xml2

but I get
srv: timeout establishing connection to tcp!sources.cs.bell-labs.com!9fs
so as if contrib still wants to connect to the central sources...

How can I persuade contrib/install to use what I've already had under
/n/sources?

Thanks
Ruda



Re: [9fans] persuade contrib/install to work

2009-05-26 Thread sqweek
2009/5/26 Rudolf Sykora rudolf.syk...@gmail.com:
 How can I persuade contrib/install to use what I've already had under
 /n/sources?

/dist/replica/contrib:7: fn servermount { 9fs sources }
-sqweek



Re: [9fans] persuade contrib/install to work

2009-05-26 Thread Federico G. Benavento
 I think it would be better for contrib to do something
 like test -d /n/sources/plan9 || 9fs sources

yes, it makes sense, though this change will only affect
the packages installed after the changes was applied

 9fs sources
 should probably mount sources, always.

yep



-- 
Federico G. Benavento