2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

Switch to python 3 variants of dependencies on debian-based builds

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-08-11 12:00:48 +02:00 committed by Andrei Vagin
parent a6214c360d
commit 3957d9533b
9 changed files with 16 additions and 19 deletions

View File

@ -4,18 +4,17 @@ libprotobuf-dev
libprotobuf-c-dev
protobuf-c-compiler
protobuf-compiler
python-protobuf
python3-protobuf
libnet-dev
# Extra packages, required for testing and building other tools
pkg-config
libnl-3-dev
python-ipaddr
libbsd0
libbsd-dev
iproute2
libcap-dev
libaio-dev
python-yaml
python3-yaml
libnl-route-3-dev
python-future

View File

@ -14,21 +14,19 @@ REQ-DEB-PKG-NAMES += libprotobuf-dev
REQ-DEB-PKG-NAMES += libprotobuf-c-dev
REQ-DEB-PKG-NAMES += protobuf-c-compiler
REQ-DEB-PKG-NAMES += protobuf-compiler
REQ-DEB-PKG-NAMES += python-protobuf
REQ-DEB-PKG-NAMES += $(PYTHON)-protobuf
REQ-DEB-PKG-NAMES += $(PYTHON)-future
REQ-DEB-PKG-NAMES += libnl-3-dev
REQ-DEB-PKG-NAMES += libcap-dev
REQ-DEB-PKG-TEST-NAMES += python-yaml
REQ-DEB-PKG-TEST-NAMES += $(PYTHON)-yaml
REQ-DEB-PKG-TEST-NAMES += libaio-dev
ifeq ($(PYTHON),python3)
REQ-DEB-PKG-NAMES += $(PYTHON)-future
REQ-DEB-PKG-TEST-NAMES += libaio-dev
REQ-RPM-PKG-TEST-NAMES += $(PYTHON)-PyYAML
else
REQ-DEB-PKG-NAMES += python-future
REQ-RPM-PKG-TEST-NAMES += $(PYTHON)-pyyaml
endif

View File

@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
libssl-dev:arm64 \
protobuf-c-compiler \
protobuf-compiler \
python-protobuf \
python3-protobuf \
libnl-3-dev:arm64 \
libprotobuf-dev:arm64 \
libnet-dev:arm64 \

View File

@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
libssl-dev:armhf \
protobuf-c-compiler \
protobuf-compiler \
python-protobuf \
python3-protobuf \
libnl-3-dev:armhf \
libprotobuf-dev:armhf \
libnet-dev:armhf \

View File

@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y \
pkg-config \
protobuf-c-compiler \
protobuf-compiler \
python-minimal \
python-future
python3-minimal \
python3-future
COPY . /criu
WORKDIR /criu

View File

@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
libssl-dev:mips64el \
protobuf-c-compiler \
protobuf-compiler \
python-protobuf \
python3-protobuf \
libnl-3-dev:mips64el \
libprotobuf-dev:mips64el \
libnet-dev:mips64el \

View File

@ -3,15 +3,15 @@ FROM adoptopenjdk/openjdk8-openj9:latest
RUN apt-get update && apt-get install -y --no-install-recommends protobuf-c-compiler \
libprotobuf-c-dev \
libaio-dev \
python-future \
python3-future \
libprotobuf-dev \
protobuf-compiler \
libcap-dev \
libnl-3-dev \
gdb \
bash \
python-protobuf \
python-yaml \
python3-protobuf \
python3-yaml \
libnet-dev \
libnl-route-3-dev \
libbsd-dev \

View File

@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
libssl-dev:ppc64el \
protobuf-c-compiler \
protobuf-compiler \
python-protobuf \
python3-protobuf \
libnl-3-dev:ppc64el \
libprotobuf-dev:ppc64el \
libnet-dev:ppc64el \

View File

@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y \
pkg-config \
protobuf-c-compiler \
protobuf-compiler \
python-minimal \
python-future
python3-minimal \
python3-future
COPY . /criu
WORKDIR /criu