[LU-298] autoconf dpkg test needs improvment Created: 09/May/11  Updated: 19/May/11  Resolved: 19/May/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.1.0
Fix Version/s: Lustre 2.1.0

Type: Bug Priority: Minor
Reporter: Christopher Morrone Assignee: Brian Murrell (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

RHEL6


Severity: 3
Rank (Obsolete): 5031

 Description   

I was going to point out that the dpkg test should be improved to through away stderr.

However, it now occurs to me that this test should be changed further. Assuming that an rpm system will not have the dpkg binary, or that a deb system will not have the rpm binary is not the best assumption.

Our RHEL6 clusters do in fact have dpkg, and I know I have the rpm command installed on my Ubuntu box.

A better test would probably check the OS distributor ID or somesuch. For instance:

$ lsb_release -i -s
Ubuntu

On a Debian system, the response is "Debian".

I'll submit a patch.



 Comments   
Comment by Christopher Morrone [ 09/May/11 ]

http://review.whamcloud.com/519

Comment by Peter Jones [ 11/May/11 ]

Brian

Could you please look into this one?

Thanks

Peter

Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,ofa #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » i686,client,el5,ofa #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » i686,server,el5,ofa #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Comment by Build Master (Inactive) [ 18/May/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #124
LU-298 Improve check for dpkg system.

Oleg Drokin : 53def88477b3f50e129e0cdad7036059414919eb
Files :

  • build/autoconf/lustre-build-linux.m4
Generated at Sat Feb 10 01:05:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.