On Sat, Jul 2, 2011 at 7:44 AM, Adrian Schröter
Am Friday, 1. July 2011, 17:41:14 schrieb Dinar Valeev:
Hi, With this patch obsworker is able to build packages within lxc container.
diff --git a/dist/obsworker b/dist/obsworker index bd3015a..8f37b14 100755 --- a/dist/obsworker +++ b/dist/obsworker @@ -38,7 +38,7 @@ fi mkdir -p "$OBS_WORKER_DIRECTORY"
if [ -z "$OBS_RUN_DIR" ]; then - OBS_RUN_DIR="/var/run/obs"
I know that this is not working anymore on Factory, but I dunno if they will really keep the noexec flag. I've faced with exact problem on Factory
+ OBS_RUN_DIR="/srv/obs/run"
That is not really a good idea, it may conflict with other files and /srv may not be writable.
Well, at least workers sysconfig tells that OBS_RUN_DIR should be /src/obs/run by default ## Path: Applications/OBS ## Description: The base for OBS communucation directory ## Type: string ## Default: "" ## Config: OBS # # This is /srv/obs/run by default So then description should be changed
The rest looks good. I will import it.
thanks adrian
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org