On 23 Sep 2003, at 9:42 pm, Michael Schreckenbauer wrote:
systems - it only updates the local portage database & fetches the
updates you require. It would, I would think, be quite easy to unshare
the NFS export before getting the files, and reshare it afterwards, as
part of the cron job. If this is done at 4am, then it is likely to
cause little interruption to service in most environments.
Besides I share your opinion, that shell-scripting is an adequate way of
cleaning distfiles, I must admit, that a cron-job, which calls emerge
sync && emerge -fud world only makes sense on a shared .../distfiles, if
and only if all machines sharing this, have the same packages installed.
Given I have a server w/o X and such and some desktop machines naturally
with this things. The share resides on the server, because this is the
only machine 24/7 up. How could an update of X, KDE etc happen and use
already downloaded files? When the desktops call emerge -ud world
parallel, wouldn't that cause problems? Am I missing something? I'd love
to do it this way, but I found no workaround for this problem yet.
I think, this would work, but that's not what I really want to do: editing
world files, copying them here over and there over, everytime I update a
desktop and/or the server.
Well, of course you don't need to copy the files manually everytime. There are lots of ways to do this: at 4:30pm every machine runs something like:
`cat /var/cache/edb/world >> //somemachine/NFS/share/world.othermachines`
Or:
`qpkg -I -v >> //somemachine/NFS/share/world.othermachines`
To retain version information. The server can uniquely sort this file before running `emerge -Uf` for each line.
Note I have some machines running ~x86, and I do
updates quite often (every two days average on this computers). I also often
emerge packages only to have a look, how they work and if they fit my needs
better than the program I actually use for this purpose. That's not my idea
of comfort ;-)
But as long as the automated sync & fetch process only takes place at midnight, you can quite happily emerge new packages during the day, to the same shared distfiles, without interfering with it.
Stroller.
-- [EMAIL PROTECTED] mailing list
