On Mon, 10 Nov 2003 14:00:36 +1100
Ron OHara <[EMAIL PROTECTED]> wrote:
> Is there a way to suppress the 'delete' part of rsync? Maybe a setting
> in /etc/make.conf ?
>
> That way, even though Gentoo may have removed the relevant (old) ebuild
> I want, the target machine would have it's local portage version for
> future recompiles.... I can afford the disk space!!!
you could simply edit /usr/bin/emerge like this (lines will probably wrap)
--- /usr/bin/emerge 2003-10-24 17:33:53.000000000 +0200
+++ emerge 2003-11-10 10:12:25.806702152 +0100
@@ -1743,7 +1743,7 @@
mytimeout=int(portage.settings["RSYNC_TIMEOUT"])
except:
pass
- mycommand="/usr/bin/rsync -rlptDvz --progress --stats --delete
--delete-after --timeout="+str(mytimeout)+" --exclude='distfiles/*'
--exclude='local/*' --exclude='packages/*' "
+ mycommand="/usr/bin/rsync -rlptDvz --progress --stats
--timeout="+str(mytimeout)+" --exclude='distfiles/*' --exclude='local/*'
--exclude='packages/*' "
if portage.settings.has_key("RSYNC_EXCLUDEFROM"):
if os.path.exists(portage.settings["RSYNC_EXCLUDEFROM"]):
mycommand=mycommand+" --exclude-from
"+portage.settings["RSYNC_EXCLUDEFROM"]
ciao
Antonio
--
[EMAIL PROTECTED] mailing list