Whamcloud - gitweb
EX-5975 build: check OS type before using dpkg
authorJian Yu <yujian@whamcloud.com>
Wed, 21 Sep 2022 07:41:33 +0000 (00:41 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 23 Sep 2022 16:33:59 +0000 (16:33 +0000)
commit9c913c27e765dfd3a1a1aad47126164574508a13
tree5c47328b8ecdbe829c74faf178481caecee6a7fb
parent8f15e7c3e61c789168462562e4f7da8b5488dff5
EX-5975 build: check OS type before using dpkg

Bright cluster manager by default installs dpkg
on it's centos/rhel installation - presumably to
allow provisioning debian nodes in the cluster,
so dpkg is in the path and can't be removed.

This patch fixes LB_USES_DPKG to check OS type
before checking if dpkg is installed.

Test-Parameters: trivial clientdistro=el8.6
Test-Parameters: trivial clientdistro=ubuntu2204 env=SANITY_EXCEPT="130 244a"

Change-Id: Idc9f6edc91f9c89b40f259421b088287e08bfe9c
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/48616
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Gaurang Tapase <gtapase@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
config/lustre-build-linux.m4