Whamcloud - gitweb
LU-18203 build: check OS type before using dpkg 47/56247/5
authorJian Yu <yujian@whamcloud.com>
Wed, 21 Sep 2022 07:41:33 +0000 (00:41 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Sep 2024 05:52:02 +0000 (05:52 +0000)
commitbaa3b27977b29a44d2442f84c6589f798af8e9a7
tree15a5bba7f76dd5486401f8ecfdc627617885119b
parent176aa3f98699007e4ae332cf09884654443e4531
LU-18203 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.

This is a port of
Lustre-change: https://review.whamcloud.com/48616
Lustre-commit: 9c913c27e765dfd3a1a1aad47126164574508a13
Ex-bug-id: EX-5975

Test-Parameters: trivial clientdistro=ubuntu2404 testlist=runtests

Change-Id: Idc9f6edc91f9c89b40f259421b088287e08bfe9c
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56247
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
config/lustre-build-linux.m4