travis: Add libefivar support
PATCH 1/1 travis: Add libefivar support
---
Hi,
Travis support for Martin's patchset
https://patchwork.ozlabs.org/project/ltp/list/?series=213179&state=*
Travis CI:
https://travis-ci.org/github/pevik/ltp/builds/742684375
Kind regards,
Petr
travis/debian.cross-compile.sh | 1 + travis/debian.i386.sh | 1 + travis/debian.minimal.sh | 1 + travis/debian.sh | 1 + travis/fedora.sh | 1 + travis/tumbleweed.sh | 1 + 6 files changed, 6 insertions(+)
travis/debian.cross-compile.sh +1 -0
@@ -20,5 +20,6 @@ apt update apt install -y --no-install-recommends \ gcc-${gcc_arch}-linux-gnu \ libc6-dev-${ARCH}-cross \ + libefivar-dev:$ARCH \ libmnl-dev:$ARCH \ libtirpc-dev:$ARCH
travis/debian.i386.sh +1 -0
@@ -13,6 +13,7 @@ apt install -y --no-install-recommends \ libcap2:i386 \ libc6-dev-i386 \ libc6:i386 \ + libefivar-dev:i386 \ libkeyutils1:i386 \ libnuma1:i386 \ libssl-dev:i386 \
travis/debian.minimal.sh +1 -0
@@ -8,6 +8,7 @@ apt remove -y \ libaio1 \ libcap-dev \ libcap2 \ + libefivar-dev \ libkeyutils-dev \ libkeyutils1 \ libmm-dev \
travis/debian.sh +1 -0
@@ -25,6 +25,7 @@ apt install -y --no-install-recommends \ libcap2 \ libc6 \ libc6-dev \ + libefivar-dev \ libkeyutils-dev \ libkeyutils1 \ libmm-dev \
travis/fedora.sh +1 -0
@@ -9,6 +9,7 @@ yum -y install \ clang \ gcc \ findutils \ + efivar-devel \ libtirpc \ libtirpc-devel \ pkg-config \
travis/tumbleweed.sh +1 -0
@@ -10,6 +10,7 @@ zypper --non-interactive install --force-resolution --no-recommends \ gcc \ gzip \ make \ + efivar-devel \ kernel-default-devel \ keyutils-devel \ libacl-devel \
Signature · 1 line
2.29.2
PATCH 1/1 travis: Add libefivar support
Hi,
Quoted 2 lines
Travis CI:
https://travis-ci.org/github/pevik/ltp/builds/742684375
Looks like Debian does not ship libefivar-dev for ppc64el
https://travis-ci.org/github/pevik/ltp/jobs/742684377
Kind regards,
Petr
Fix:
debian.cross-compile.sh +6 -2
@@ -2,6 +2,8 @@ # Copyright (c) 2018-2020 Petr Vorel <[email protected]> set -ex +apt="apt install -y --no-install-recommends" + if [ -z "$ARCH" ]; then echo "missing \$ARCH!" >&2 exit 1
@@ -17,9 +19,11 @@ esac dpkg --add-architecture $ARCH apt update -apt install -y --no-install-recommends \ +$apt \ gcc-${gcc_arch}-linux-gnu \ libc6-dev-${ARCH}-cross \ - libefivar-dev:$ARCH \ libmnl-dev:$ARCH \ libtirpc-dev:$ARCH + +# efivar is currently missing on ppc64el +$apt libefivar-dev:$ARCH || true
PATCH 1/1 travis: Add libefivar support
Quoted 7 lines · Petr Vorel
Hi,
Quoted 2 lines
Travis CI:
https://travis-ci.org/github/pevik/ltp/builds/742684375Looks like Debian does not ship libefivar-dev for ppc64el
https://travis-ci.org/github/pevik/ltp/jobs/742684377
From Travis CI, the CentOS8 reports miss efivar-devel package too.
Maybe fix it by the following?
travis/fedora.sh +2 -2
@@ -9,11 +9,11 @@ yum -y install \ clang \ gcc \ findutils \ - efivar-devel \ libtirpc \ libtirpc-devel \ pkg-config \ redhat-lsb-core -# CentOS 8 doesn't have libmnl-devel +# CentOS 8 doesn't have libmnl-devel and efivar-devel yum -y install libmnl-devel || yum -y install libmnl +yum -y --skip-broken install efivar-devel
Signature · 5 lines
Regards, Li Wang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linux.it/pipermail/ltp/attachments/20201111/0d77aaab/attachment-0001.htm>
PATCH 1/1 travis: Add libefivar support
Hi Li,
Quoted 21 lines · Petr Vorel
Quoted 8 lines
Hi,
Quoted 2 lines
Travis CI:
https://travis-ci.org/github/pevik/ltp/builds/742684375Looks like Debian does not ship libefivar-dev for ppc64el
https://travis-ci.org/github/pevik/ltp/jobs/742684377From Travis CI, the CentOS8 reports miss efivar-devel package too.
Maybe fix it by the following?
travis/fedora.sh +0
-0@@ -9,11 +9,11 @@ yum -y install \ clang \ gcc \ findutils \
travis/fedora.sh yum -y install \ · line 19
Quoted 10 lines
travis/fedora.sh +2
-2- efivar-devel \ libtirpc \ libtirpc-devel \ pkg-config \ redhat-lsb-core -# CentOS 8 doesn't have libmnl-devel +# CentOS 8 doesn't have libmnl-devel and efivar-devel yum -y install libmnl-devel || yum -y install libmnl +yum -y --skip-broken install efivar-devel
+1
Thanks!
Kind regards,
Petr
PATCH 1/1 travis: Add libefivar support
In reply to Li WangHi Li,
Quoted 21 lines · Petr Vorel
Quoted 8 lines
Hi,
Quoted 2 lines
Travis CI:
https://travis-ci.org/github/pevik/ltp/builds/742684375Looks like Debian does not ship libefivar-dev for ppc64el
https://travis-ci.org/github/pevik/ltp/jobs/742684377From Travis CI, the CentOS8 reports miss efivar-devel package too.
Maybe fix it by the following?
travis/fedora.sh +0
-0@@ -9,11 +9,11 @@ yum -y install \ clang \ gcc \ findutils \
travis/fedora.sh yum -y install \ · line 19
Quoted 10 lines
travis/fedora.sh +2
-2- efivar-devel \ libtirpc \ libtirpc-devel \ pkg-config \ redhat-lsb-core -# CentOS 8 doesn't have libmnl-devel +# CentOS 8 doesn't have libmnl-devel and efivar-devel yum -y install libmnl-devel || yum -y install libmnl +yum -y --skip-broken install efivar-devel
I'm sorry, I completely overlook your comment.
In the end it's not needed as we use our own implementation.
Kind regards,
Petr