@@ -252,8 +252,15 @@
echo $XEN_MEMX > $ROOT/root_$I/memory
fi
fi
+ kernelparam=""
+ if [ -f /.build.initrd.kvm ] ; then
+ kernelparam="$kernelparam --vm-initrd=/.build.initrd.kvm"
+ fi
+ if [ -f /.build.kernel.kvm ] ; then
+ kernelparam="$kernelparam --vm-kernel=/.build.kernel.kvm"
+ fi
# prepare obsworker startup in screen...
- echo "screen -t $title ./bs_worker $obsopt $xen_opts $port --root $ROOT/root_$I" \
+ echo "screen -t $title ./bs_worker $kernelparam $obsopt $xen_opts $port --root $ROOT/root_$I" \
"--statedir $workerdir/$I --id $HOSTNAME/$I $OBS_REPO_PARM" \
"$OBS_JOBS $OBS_TEST $OBS_SRC_PARM $OBS_WORKER_OPT" \
>> $screenrc
|