At Mon, 28 Sep 2009 11:04:04 +0200, Werner Flamme wrote:
Marcus Meissner [26.09.2009 21:13]:
On Sat, Sep 26, 2009 at 09:05:38PM +0200, Werner Flamme wrote:
Hi all,
I don't know if I'm right here or if I have to consult the buildservice mailing list instead, but I'll try here first ;-)
I try to build the latest version of drbd, and it works for the most cases. SLE_10, SLE_11, openSUSE 10.3, 11.0, and 11.1 build successfully, in Factory it's still scheduled.
But the kernel modules are build against the original kernel only, not against the latest kernel from the official update channel (for example, in 11.1 they are build as drbd-kmp-${KERNEL_FLAVOR}-8.3.2_2.6.27.7_9.1-5.1.${ARCH].rpm, not - as I would prefer - against kernel 2.6.27.29-0.1.
When I modify the BuildRequires line to kernel-syms >= 2.6.27.29, I get an error "nothing provides kernel-syms >= 2.6.27.29" right away.
Is it possible to have the modules built against the latest kernel? If so, how? :-)
I think that I have to include the update repository, but I didn't find a hint in the Build Service docu how to do so.
The solution should work on the openSUSE build service too, not only locally ;-)
Build against the +Updates repos.
Add target, press [Advanced] Button, chose: openSUSE:10.3:Update/standard openSUSE:11.0:Update/standard openSUSE:11.1:Update/standard
There is no :Update for the SLE products, the kernel module api should be stable over the whole service pack.
Ciao, Marcus
Hi Marcus,
thank you for tipping me right :-) I added the repos, the build is scheduled there now (drbd only atm).
Is it possible to build against the Update repos locally? What do I have to enter as "platform" for that? ATM I use (f. e.) "osc build drbd openSUSE_11.1 i586 drbd.spec".
Check the output of "osc repos". You should have a target like "openSUSE_11.1_Update". Then run like osc build openSUSE_11.1_Update i586 drbd.spec Takashi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org