Whamcloud - gitweb
LU-1935 scripts: don't generate lustre init script
authorNed Bass <bass6@llnl.gov>
Sat, 15 Sep 2012 00:00:29 +0000 (17:00 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 4 Oct 2012 18:06:07 +0000 (14:06 -0400)
commitb141d6e1607173a33d083f1cff472a92831064bb
treec4c184ecccd0a769de06e3afe6e9b793458eee6b
parent0ee03999a24c3e5e2652155237809671414630b9
LU-1935 scripts: don't generate lustre init script

An "overriding commands for target `lustre'" build warning resulted
from the addition of lustre to the genscripts Makefile variable.  In
fact the genscripts processing is superfluous for the lustre script,
so we could just fix the warning by removing it.  However, generating
the script from a .in file seems unnecessarily complicated, so this
change goes a step further by making the script static.  It now
detects at run-time whether to use the ldiskfsprogs or the e2fsprogs
utilities, instead of using autoconf macros to encode it at build
time.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Change-Id: Ie000a87adabbc2a001ed9ff2f5750041a5abea5b
Reviewed-on: http://review.whamcloud.com/4015
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/conf/lustre
lustre/scripts/Makefile.am
lustre/scripts/lustre [moved from lustre/scripts/lustre.in with 96% similarity]