Whamcloud - gitweb
LU-1199 obdclass: build and install llog_test.ko properly 93/5493/3
authorJames Simmons <uja.ornl@gmail.com>
Wed, 18 Sep 2013 13:49:21 +0000 (09:49 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 26 Oct 2013 22:34:48 +0000 (22:34 +0000)
commit7a7b4061729bbe70b53100db2feca28f40d7199b
tree40f2a1fd00735e73a62933538d3a9ad9cd5128a7
parent5b23d31251f836ff64bd00c6abb8bab0e6c834ee
LU-1199 obdclass: build and install llog_test.ko properly

There's a hack in lustre.spec.in to copy the llog_test.ko module into
/lib/modules.

It's only needed because that module is built unconditionally and
is expected to only be installed if --enable-tests is configured.

The right way to do this is to only build it at all if --enable-tests
is configured and installation comes automatically,

The conditional in the spec file for --enable-tests already exists,
so it will be packaged correctly without the hack.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I2705848e11a96ab6769ebba4481d2d0621f53d3e
Reviewed-on: http://review.whamcloud.com/5493
Tested-by: Hudson
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Christopher J. Morrone <chris.morrone.llnl@gmail.com>
Reviewed-by: Stephen Champion <schamp@sgi.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre.spec.in
lustre/obdclass/autoMakefile.am