Am Mittwoch, 24. September 2003 14:51 schrieb Stroller: > > 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.
Of course you are right here. No need to copy manually. Your other response to me had some quite good tips, especially the suggestion to have a copy of each desktop's worldfile on the server, synced, when the desktop shuts down. > > 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. Well, a pure cron job would not fit my needs. There is no particular time in a day, when it could do its job safely. I'm working all times a day and at night. It depends on my wife, me, moonphase and what not. I'm currently thinking of a script, running when the desktops start up, which tells the server "here I am". When doing shutdown it will copy the worldfile to the server and "logout" from the server. When cron says "Do the emerge", it will only be started, if no desktops are online, hopeing, no desktop is started and updating, while it is still syncing and fetching ;-) > Stroller. Many thanks, did help a lot, Michael -- [EMAIL PROTECTED] mailing list
