Whamcloud - gitweb
LU-1706 build: Fixes for debian build system with Ubuntu 12.04+ 29/13129/8
authorBlake Caldwell <blakec@ornl.gov>
Mon, 22 Dec 2014 08:07:06 +0000 (03:07 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 7 Jan 2015 17:33:16 +0000 (17:33 +0000)
commitf8babafc6ac2cae22e6005103aaa5ac4aa0a63ea
tree4109cd508fff7e38edb21fc0b58763f895d5d4b9
parent02121ce3e801684b4b5602a55ca313c661471df7
LU-1706 build: Fixes for debian build system with Ubuntu 12.04+

Propagate values from autoconf (LINUX, LINUXRELEASE, LINUX_OBJ)
to the debian build system to correctly identify kernel sources
(--with-linux) and objects (--with-linux-obj). The 'make debs'
target previously used KERNEL_VERSION, which does not get set
anymore.

Other fixes for building debs with Ubuntu 12.04+:
 1) Add module-assistant to Build-Depends in debian/control
 2) Omit copying lustre-*-orig.tar.gz and lustre-*.diff.gz files
    since this is the upstream source
 3) Change debhelper compatibility level to 7 (10.04+)
 4) Use dh_prep instead of dh_clean -k
 5) avoid non-functional --disable-zerocopy configure option
 6) do not try to install lc_common script that is
    only in server builds

Signed-off-by: Blake Caldwell <blakec@ornl.gov>
Change-Id: I9787bac687d26b03c4d1204347240624bfaced96
Reviewed-on: http://review.whamcloud.com/13129
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Brian J. Murrell <brian.murrell@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
autoMakefile.am
debian/compat [new file with mode: 0644]
debian/control
debian/control.main
debian/lustre-utils.install
debian/rules