9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] persuade contrib/install to work
@ 2009-05-26 14:19 Rudolf Sykora
  2009-05-26 15:07 ` sqweek
  2009-05-26 16:46 ` Skip Tavakkolian
  0 siblings, 2 replies; 6+ messages in thread
From: Rudolf Sykora @ 2009-05-26 14:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] persuade contrib/install to work
  2009-05-26 14:19 [9fans] persuade contrib/install to work Rudolf Sykora
@ 2009-05-26 15:07 ` sqweek
  2009-05-26 19:28   ` Francisco J Ballesteros
  2009-05-26 16:46 ` Skip Tavakkolian
  1 sibling, 1 reply; 6+ messages in thread
From: sqweek @ 2009-05-26 15:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

2009/5/26 Rudolf Sykora <rudolf.sykora@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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] persuade contrib/install to work
  2009-05-26 14:19 [9fans] persuade contrib/install to work Rudolf Sykora
  2009-05-26 15:07 ` sqweek
@ 2009-05-26 16:46 ` Skip Tavakkolian
  1 sibling, 0 replies; 6+ messages in thread
From: Skip Tavakkolian @ 2009-05-26 16:46 UTC (permalink / raw)
  To: 9fans

in /rc/bin/9fs, change 'case sources'.  i think it makes sense to have
it dial $sources and set it to favorite location.

> 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...




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] persuade contrib/install to work
  2009-05-26 15:07 ` sqweek
@ 2009-05-26 19:28   ` Francisco J Ballesteros
  2009-05-27  1:52     ` Federico G. Benavento
  0 siblings, 1 reply; 6+ messages in thread
From: Francisco J Ballesteros @ 2009-05-26 19:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I think it would be better for contrib to do something
like test -d /n/sources/plan9 || 9fs sources

9fs sources
should probably mount sources, always.

On Tue, May 26, 2009 at 5:07 PM, sqweek <sqweek@gmail.com> wrote:
> 2009/5/26 Rudolf Sykora <rudolf.sykora@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
>
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] persuade contrib/install to work
  2009-05-26 19:28   ` Francisco J Ballesteros
@ 2009-05-27  1:52     ` Federico G. Benavento
  2009-05-27 11:03       ` Rudolf Sykora
  0 siblings, 1 reply; 6+ messages in thread
From: Federico G. Benavento @ 2009-05-27  1:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] persuade contrib/install to work
  2009-05-27  1:52     ` Federico G. Benavento
@ 2009-05-27 11:03       ` Rudolf Sykora
  0 siblings, 0 replies; 6+ messages in thread
From: Rudolf Sykora @ 2009-05-27 11:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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 <benavento@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
>
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-27 11:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-26 14:19 [9fans] persuade contrib/install to work Rudolf Sykora
2009-05-26 15:07 ` sqweek
2009-05-26 19:28   ` Francisco J Ballesteros
2009-05-27  1:52     ` Federico G. Benavento
2009-05-27 11:03       ` Rudolf Sykora
2009-05-26 16:46 ` Skip Tavakkolian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).