[opensuse-buildservice] useless screenrc commands in obsworker
Hello! The first to lines added to screenrc in obsworker are useless because the script removes the screenrc file again after setting them up. To fix this I recommend the following patch: Index: obsworker =================================================================== --- obsworker (revision 62) +++ obsworker (working copy) @@ -40,6 +40,8 @@ rc_reset case "$1" in start) + rm -rf "$workerdir" + mkdir -p "$workerbootdir" # reset screenrc echo "zombie on" > $screenrc echo "caption always" >> $screenrc @@ -56,8 +58,6 @@ echo "Run $NUM obsworker using $ROOT" # fetch worker sources from server - rm -rf "$workerdir" - mkdir -p "$workerbootdir" pushd "$workerbootdir" curl -q "$OBS_STORAGE_SERVER"/getworkercode | cpio --extract ln -s . XML Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."
Am Saturday 27 January 2007 22:59 schrieb Robert Schiele:
Hello!
The first to lines added to screenrc in obsworker are useless because the script removes the screenrc file again after setting them up. To fix this I recommend the following patch:
applied, thanks again. Btw, the bug you reported as well that the web interface crashes when creating a repository without a base repository has been fixed as well. Both fixes should be in the 0.1.1 packages, which will appear soon. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Robert Schiele