Mailinglist Archive: opensuse-buildservice (225 mails)

< Previous Next >
Re: [opensuse-buildservice] Building KMP packages
Ann,

2011/9/14 Ann Davis <andavis@xxxxxxxx>:

The postinstall script is fine but the links didn't get made.  So this means
that the
"/bin/bash -${-/e/} $wm2 --add-kmp $nvr" command in the postinstall scriptlet
failed to make the links.  This command just calls the
"/usr/lib/module-init-tools/weak-modules2" script if you want to take a look
at what it does.

## weak-modules2 ##

Execution:
bash -x /usr/lib/module-init-tools/weak-modules2 --add-kmp
cluster-network-kmp-pae-1.4_2.6.32.45_1-4.4

Output:
http://pastebin.com/KGxYkML1


The most likely reason for the weak-modules2 script not to make links would
be that the symsets required by your -kmp package are not provided by the
running kernel.  To see the symsets required by your kmp, run "rpm -q
--requires cluster-network-kmp-pae".  What is that output?  Then compare it
to the symsets provided by your running kernel as listed in
/boot/symsets-$(uname -r).tar.gz.

"Requires" output: http://pastebin.com/rvhbsgE1

All 58 symbols match...

glb1:~ # zcat /boot/symsets-$(uname -r).tar.gz|strings > symsets.txt
glb1:~ # rpm -q --requires cluster-network-kmp-pae |grep kernel|cut -f
2 -d "="|wc -l
58
glb1:~ # for ID in $(rpm -q --requires cluster-network-kmp-pae |grep
kernel|cut -f 2 -d "=");do grep $ID symsets.txt ;done|wc -l
58


Ann

Regards,

Regards,

--
Ciro Iriarte
http://cyruspy.wordpress.com
--
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups