Info:
HP SFS 2250/CFS 5800
On em64t/x86_64 systems the %{_libdir} rpm path resolves to
/usr/lib64 rather than /usr/lib. This patch updates lconf to
look in both locations for the Lustre extension modules.
else:
from fcntl import F_GETFL, F_SETFL
-PYMOD_DIR = "/usr/lib/lustre/python"
+PYMOD_DIR = ["/usr/lib/lustre/python", "/usr/lib64/lustre/python"]
def development_mode():
base = os.path.dirname(sys.argv[0])
if development_mode():
sys.path.append('../utils')
else:
- sys.path.append(PYMOD_DIR)
+ sys.path.extend(PYMOD_DIR)
import Lustre