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:

committed by
Beniamino Galvani

parent
f0d6b339bf
commit
ec917dc670
@@ -60,11 +60,11 @@ variables:
|
|||||||
#
|
#
|
||||||
# This is done by running `ci-fairy generate-template` and possibly bumping
|
# This is done by running `ci-fairy generate-template` and possibly bumping
|
||||||
# ".default_tag".
|
# ".default_tag".
|
||||||
ALPINE_TAG: 'tag-77ec3d923fd6'
|
ALPINE_TAG: 'tag-57edf560bf4f'
|
||||||
CENTOS_TAG: 'tag-7a677f4838e1'
|
CENTOS_TAG: 'tag-7ea4f50c8578'
|
||||||
DEBIAN_TAG: 'tag-ecad19904683'
|
DEBIAN_TAG: 'tag-1601ce2572c5'
|
||||||
FEDORA_TAG: 'tag-7a677f4838e1'
|
FEDORA_TAG: 'tag-7ea4f50c8578'
|
||||||
UBUNTU_TAG: 'tag-ecad19904683'
|
UBUNTU_TAG: 'tag-1601ce2572c5'
|
||||||
|
|
||||||
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
||||||
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
||||||
|
@@ -24,6 +24,7 @@ apk add \
|
|||||||
'jansson-dev' \
|
'jansson-dev' \
|
||||||
'libgudev-dev' \
|
'libgudev-dev' \
|
||||||
'libndp-dev' \
|
'libndp-dev' \
|
||||||
|
'libnvme-dev' \
|
||||||
'libnl3-dev' \
|
'libnl3-dev' \
|
||||||
'libpsl-dev' \
|
'libpsl-dev' \
|
||||||
'libsoup-dev' \
|
'libsoup-dev' \
|
||||||
|
@@ -56,6 +56,7 @@ install \
|
|||||||
libndp-dev \
|
libndp-dev \
|
||||||
libnewt-dev \
|
libnewt-dev \
|
||||||
libnss3-dev \
|
libnss3-dev \
|
||||||
|
libnvme-dev \
|
||||||
libpolkit-gobject-1-dev \
|
libpolkit-gobject-1-dev \
|
||||||
libpsl-dev \
|
libpsl-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
|
@@ -66,6 +66,7 @@ install \
|
|||||||
jq \
|
jq \
|
||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
libndp-devel \
|
libndp-devel \
|
||||||
|
libnvme-devel \
|
||||||
libselinux-devel \
|
libselinux-devel \
|
||||||
libtool \
|
libtool \
|
||||||
libuuid-devel \
|
libuuid-devel \
|
||||||
|
@@ -307,6 +307,7 @@ BuildRequires: libubsan
|
|||||||
BuildRequires: firewalld-filesystem
|
BuildRequires: firewalld-filesystem
|
||||||
BuildRequires: iproute
|
BuildRequires: iproute
|
||||||
BuildRequires: iproute-tc
|
BuildRequires: iproute-tc
|
||||||
|
BuildRequires: libnvme-devel >= 1.5
|
||||||
|
|
||||||
Provides: %{name}-dispatcher%{?_isa} = %{epoch}:%{version}-%{release}
|
Provides: %{name}-dispatcher%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
@@ -54,10 +54,15 @@ _WITH_WERROR=1
|
|||||||
_WITH_LIBTEAM="true"
|
_WITH_LIBTEAM="true"
|
||||||
_WITH_DOCS="true"
|
_WITH_DOCS="true"
|
||||||
_WITH_SYSTEMD_LOGIND="true"
|
_WITH_SYSTEMD_LOGIND="true"
|
||||||
|
_WITH_NBFT="true"
|
||||||
if [ $IS_ALPINE = 1 ]; then
|
if [ $IS_ALPINE = 1 ]; then
|
||||||
_WITH_SYSTEMD_LOGIND="false"
|
_WITH_SYSTEMD_LOGIND="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! pkgconf 'libnvme >= 1.5'; then
|
||||||
|
_WITH_NBFT="false"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "${NMTST_SEED_RAND+x}" ]; then
|
if [ -z "${NMTST_SEED_RAND+x}" ]; then
|
||||||
NMTST_SEED_RAND="$SRANDOM"
|
NMTST_SEED_RAND="$SRANDOM"
|
||||||
if [ -z "$NMTST_SEED_RAND" ]; then
|
if [ -z "$NMTST_SEED_RAND" ]; then
|
||||||
@@ -181,6 +186,8 @@ meson setup build \
|
|||||||
-D ifcfg_rh=false \
|
-D ifcfg_rh=false \
|
||||||
-D ifupdown=true \
|
-D ifupdown=true \
|
||||||
\
|
\
|
||||||
|
-D nbft=$_WITH_NBFT \
|
||||||
|
\
|
||||||
#end
|
#end
|
||||||
|
|
||||||
export NM_TEST_CLIENT_CHECK_L10N=1
|
export NM_TEST_CLIENT_CHECK_L10N=1
|
||||||
|
@@ -224,6 +224,7 @@ RUN dnf install -y \\
|
|||||||
libasan \\
|
libasan \\
|
||||||
libcurl-devel \\
|
libcurl-devel \\
|
||||||
libndp-devel \\
|
libndp-devel \\
|
||||||
|
libnvme-devel \\
|
||||||
libpsl-devel \\
|
libpsl-devel \\
|
||||||
libselinux-devel \\
|
libselinux-devel \\
|
||||||
libtool \\
|
libtool \\
|
||||||
|
Reference in New Issue
Block a user