[LU-8390] e2fsprogs builds incorrectly on some sles12 versions Created: 11/Jul/16 Updated: 08/Aug/18 Resolved: 08/Aug/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Bob Glossman (Inactive) | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
The distro name reported by the lsb_release command has changed in some versions of sles12. This change causes the e2fsprogs build process for the master-lustre branch to choose the wrong .spec file to build with. Using the wrong .spec file results in generating the wrong packages, generic style RPMs instead of SLES compatible RPMs. The following small repair to the build script can fix the problem: --- a/contrib/build-rpm
+++ b/contrib/build-rpm
@@ -75,7 +75,7 @@ case "$DISTRO-$RELEASE" in
Fedora-1[5-9]) DISTRO=RHEL; RELEASE=7;;
Fedora-2[0-9]) DISTRO=RHEL; RELEASE=7;;
SUSE\ LINUX-11*) DISTRO=SUSE_LINUX; RELEASE=11;;
- SUSE\ LINUX-12*) DISTRO=SUSE_LINUX; RELEASE=12;;
+ SUSE\ LINUX-12* | SUSE-12*) DISTRO=SUSE_LINUX; RELEASE=12;;
esac
SPECFILE="$currdir/e2fsprogs-${DISTRO// /_}-$RELEASE.spec"
|
| Comments |
| Comment by Gerrit Updater [ 11/Jul/16 ] |
|
Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/21237 |
| Comment by Bob Glossman (Inactive) [ 12/Jul/16 ] |
|
Andreas, |
| Comment by Gerrit Updater [ 12/Aug/16 ] |
|
Andreas Dilger (andreas.dilger@intel.com) merged in patch http://review.whamcloud.com/21237/ |