Whamcloud - gitweb
b=22612 dig out Module.symvers for sles10
authorBrian J. Murrell <brian.murrell@oracle.com>
Fri, 6 Aug 2010 17:59:04 +0000 (21:59 +0400)
committerMikhail Pershin <tappro@sun.com>
Fri, 6 Aug 2010 19:20:06 +0000 (23:20 +0400)
commitac8e871d781fae211feb88ff7e95aabb6ae48e68
tree2ef86c4d057082504b2615b2ac0867f3c0559beb
parent9dc3b9363ad52b69e0c6a4261be5a298dba98ddf
b=22612 dig out Module.symvers for sles10

When we build modules in lbuild for sles10 kernels, we point to the
contents of the kernel-source RPM.  That does not contain the
Module.symvers file though and thus we get a nice big warning that
the modules built (i.e. ldiskfs) will not contain versions.
This is because we need to unpack the /usr/src/linux-*obj/Module.symvers
file from the kernel-$flavour or kernel-syms RPM into the location pointed to
by --with-linux-obj.

Fix a bug in unpack_linux_devel_rpm-$DISTRO where we were not checking
for the success of the function.

i=mjmac
i=wangyb
build/lbuild
build/lbuild-sles10