ci: add libnvme dependency

Required for the nm-initrd-generator NBFT support.

Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
This commit is contained in:
Tomas Bzatek
2024-11-22 16:49:47 +01:00
committed by Beniamino Galvani
parent f0d6b339bf
commit ec917dc670
7 changed files with 17 additions and 5 deletions

View File

@@ -60,11 +60,11 @@ variables:
#
# This is done by running `ci-fairy generate-template` and possibly bumping
# ".default_tag".
ALPINE_TAG: 'tag-77ec3d923fd6'
CENTOS_TAG: 'tag-7a677f4838e1'
DEBIAN_TAG: 'tag-ecad19904683'
FEDORA_TAG: 'tag-7a677f4838e1'
UBUNTU_TAG: 'tag-ecad19904683'
ALPINE_TAG: 'tag-57edf560bf4f'
CENTOS_TAG: 'tag-7ea4f50c8578'
DEBIAN_TAG: 'tag-1601ce2572c5'
FEDORA_TAG: 'tag-7ea4f50c8578'
UBUNTU_TAG: 'tag-1601ce2572c5'
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'

View File

@@ -24,6 +24,7 @@ apk add \
'jansson-dev' \
'libgudev-dev' \
'libndp-dev' \
'libnvme-dev' \
'libnl3-dev' \
'libpsl-dev' \
'libsoup-dev' \

View File

@@ -56,6 +56,7 @@ install \
libndp-dev \
libnewt-dev \
libnss3-dev \
libnvme-dev \
libpolkit-gobject-1-dev \
libpsl-dev \
libreadline-dev \

View File

@@ -66,6 +66,7 @@ install \
jq \
libcurl-devel \
libndp-devel \
libnvme-devel \
libselinux-devel \
libtool \
libuuid-devel \

View File

@@ -307,6 +307,7 @@ BuildRequires: libubsan
BuildRequires: firewalld-filesystem
BuildRequires: iproute
BuildRequires: iproute-tc
BuildRequires: libnvme-devel >= 1.5
Provides: %{name}-dispatcher%{?_isa} = %{epoch}:%{version}-%{release}

View File

@@ -54,10 +54,15 @@ _WITH_WERROR=1
_WITH_LIBTEAM="true"
_WITH_DOCS="true"
_WITH_SYSTEMD_LOGIND="true"
_WITH_NBFT="true"
if [ $IS_ALPINE = 1 ]; then
_WITH_SYSTEMD_LOGIND="false"
fi
if ! pkgconf 'libnvme >= 1.5'; then
_WITH_NBFT="false"
fi
if [ -z "${NMTST_SEED_RAND+x}" ]; then
NMTST_SEED_RAND="$SRANDOM"
if [ -z "$NMTST_SEED_RAND" ]; then
@@ -181,6 +186,8 @@ meson setup build \
-D ifcfg_rh=false \
-D ifupdown=true \
\
-D nbft=$_WITH_NBFT \
\
#end
export NM_TEST_CLIENT_CHECK_L10N=1

View File

@@ -224,6 +224,7 @@ RUN dnf install -y \\
libasan \\
libcurl-devel \\
libndp-devel \\
libnvme-devel \\
libpsl-devel \\
libselinux-devel \\
libtool \\