Mailinglist Archive: opensuse-buildservice (227 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Complete openSUSE Build Service under GPL available
- From: Robert Schiele <rschiele@xxxxxxxxx>
- Date: Fri, 26 Jan 2007 11:40:24 +0100
- Message-id: <20070126104024.GD3767@xxxxxxxxxxxxxxxxxx>
On Fri, Jan 26, 2007 at 10:18:58AM +0100, Peter Poeml wrote:
> I am happy to say that I have successfully set up a buildservice
> instance from these packages, on an old PowerPC machine, which has
> successfully built a number of packages tonight :-)
If you want to have multiple architectures apply the following patch:
Index: obsscheduler
===================================================================
--- obsscheduler (revision 39)
+++ obsscheduler (working copy)
@@ -31,7 +31,10 @@
cd "$obsdir"
# FIXME: not nice, this should receive a proper daemon handling,
# including real logging, pid file and startproc
- ./bs_sched $OBS_SCHEDULER_ARCHITECTURES >& /srv/obs/log/scheduler.log &
+ test -z "$OBS_SCHEDULER_ARCHITECTURES" && OBS_SCHEDULER_ARCHITECTURES=i586
+ for i in $OBS_SCHEDULER_ARCHITECTURES; do
+ ./bs_sched $i >& /srv/obs/log/scheduler_$i.log &
+ done
rc_status -v
;;
stop)
Robert
--
Robert Schiele
Dipl.-Wirtsch.informatiker mailto:rschiele@xxxxxxxxx
"Quidquid latine dictum sit, altum sonatur."
> I am happy to say that I have successfully set up a buildservice
> instance from these packages, on an old PowerPC machine, which has
> successfully built a number of packages tonight :-)
If you want to have multiple architectures apply the following patch:
Index: obsscheduler
===================================================================
--- obsscheduler (revision 39)
+++ obsscheduler (working copy)
@@ -31,7 +31,10 @@
cd "$obsdir"
# FIXME: not nice, this should receive a proper daemon handling,
# including real logging, pid file and startproc
- ./bs_sched $OBS_SCHEDULER_ARCHITECTURES >& /srv/obs/log/scheduler.log &
+ test -z "$OBS_SCHEDULER_ARCHITECTURES" && OBS_SCHEDULER_ARCHITECTURES=i586
+ for i in $OBS_SCHEDULER_ARCHITECTURES; do
+ ./bs_sched $i >& /srv/obs/log/scheduler_$i.log &
+ done
rc_status -v
;;
stop)
Robert
--
Robert Schiele
Dipl.-Wirtsch.informatiker mailto:rschiele@xxxxxxxxx
"Quidquid latine dictum sit, altum sonatur."
| < Previous | Next > |