Whamcloud - gitweb
b=20617 old-school builds sles9 too
authorBrian J. Murrell <brian@sun.com>
Sat, 9 Jan 2010 04:36:05 +0000 (23:36 -0500)
committerJohann Lombardi <johann@sun.com>
Wed, 13 Jan 2010 21:46:59 +0000 (22:46 +0100)
A portion of the patch for this didn't seem to get committed causing
SLES9 builds to fail.

build/lbuild.old_school

index 088219b..095d069 100644 (file)
@@ -10,7 +10,7 @@ SUSEBUILD=${SUSEBUILD:-0}
 # make sure this module does not get used for anything other than RHEL4
 # as this will die when our RHEL4 support (read: need to build binaries)
 # dies
-if [ "$DISTRO" != "rhel4" ]; then
+if [ "$DISTRO" != "rhel4" -a "$DISTRO" != "sles9" ]; then
     fatal 1 "lbuild.old_school is deprecated and only supported for RHEL4
 to add lbuild support for $DISTRO you probably want to create an lbuild-$DISTRO
 file in the lustre-build module"