Whamcloud - gitweb
b=22612 dig out Module.symvers for sles10
authorBrian J. Murrell <brian.murrell@oracle.com>
Mon, 14 Jun 2010 18:25:08 +0000 (14:25 -0400)
committerJohann Lombardi <johann@sun.com>
Tue, 15 Jun 2010 07:09:50 +0000 (09:09 +0200)
commitd55a3ae38883b1aad220ac2ca7c9c49ded821a48
tree298c1eea8bf145ca989965b472828dc4c32d4abc
parentabc923e2055dff49d52c9e8896cf7334250ce816
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