Whamcloud - gitweb
LU-17128 build: fix lnet.service missing issue on Ubuntu 22.04 04/52404/3
authorJian Yu <yujian@whamcloud.com>
Mon, 18 Sep 2023 16:55:37 +0000 (09:55 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 28 Sep 2023 08:02:54 +0000 (08:02 +0000)
commit3b759ecbe28e6c5340d4a2a73bc61c34485885c5
tree02fbe74c9416c67268d9a574cfd71492a25e9251
parent1af966fe6983f28e9d438b57944c4dccb8941c61
LU-17128 build: fix lnet.service missing issue on Ubuntu 22.04

The lnet.service file was in the lustre-client-utils package
built on Ubuntu 20.04, but it was missing from the package
built on Ubuntu 22.04.

This is caused by the dpkg-buildpackage change introduced by
dpkg version 1.21.1ubuntu2.1 installed by default on Ubuntu 22.04.
To fix this issue, we need to specify build profiles explicitly
to dpkg-buildpackage via -P|--build-profiles option instead of
just setting the environment variable DEB_BUILD_PROFILES.

Test-Parameters: trivial clientdistro=ubuntu2204

Signed-off-by: Jian Yu <yujian@whamcloud.com>
Change-Id: I9975ef357f0aba722c56d27eaa9b2cfbccc9c524
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52404
Reviewed-by: Colin Faber <cfaber@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
autoMakefile.am