Skip to content

Commit 3957d95

Browse files
thaJeztahavagin
authored andcommitted
Switch to python 3 variants of dependencies on debian-based builds
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent a6214c3 commit 3957d95

9 files changed

Lines changed: 16 additions & 19 deletions

contrib/debian/dev-packages.lst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@ libprotobuf-dev
44
libprotobuf-c-dev
55
protobuf-c-compiler
66
protobuf-compiler
7-
python-protobuf
7+
python3-protobuf
88
libnet-dev
99

1010
# Extra packages, required for testing and building other tools
1111
pkg-config
1212
libnl-3-dev
13-
python-ipaddr
1413
libbsd0
1514
libbsd-dev
1615
iproute2
1716
libcap-dev
1817
libaio-dev
19-
python-yaml
18+
python3-yaml
2019
libnl-route-3-dev
2120
python-future

criu/Makefile.packages

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,19 @@ REQ-DEB-PKG-NAMES += libprotobuf-dev
1414
REQ-DEB-PKG-NAMES += libprotobuf-c-dev
1515
REQ-DEB-PKG-NAMES += protobuf-c-compiler
1616
REQ-DEB-PKG-NAMES += protobuf-compiler
17-
REQ-DEB-PKG-NAMES += python-protobuf
17+
REQ-DEB-PKG-NAMES += $(PYTHON)-protobuf
18+
REQ-DEB-PKG-NAMES += $(PYTHON)-future
1819
REQ-DEB-PKG-NAMES += libnl-3-dev
1920
REQ-DEB-PKG-NAMES += libcap-dev
2021

21-
REQ-DEB-PKG-TEST-NAMES += python-yaml
22+
REQ-DEB-PKG-TEST-NAMES += $(PYTHON)-yaml
2223
REQ-DEB-PKG-TEST-NAMES += libaio-dev
2324

2425
ifeq ($(PYTHON),python3)
25-
REQ-DEB-PKG-NAMES += $(PYTHON)-future
2626
REQ-DEB-PKG-TEST-NAMES += libaio-dev
2727

2828
REQ-RPM-PKG-TEST-NAMES += $(PYTHON)-PyYAML
2929
else
30-
REQ-DEB-PKG-NAMES += python-future
31-
3230
REQ-RPM-PKG-TEST-NAMES += $(PYTHON)-pyyaml
3331
endif
3432

scripts/build/Dockerfile.aarch64-cross

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
1515
libssl-dev:arm64 \
1616
protobuf-c-compiler \
1717
protobuf-compiler \
18-
python-protobuf \
18+
python3-protobuf \
1919
libnl-3-dev:arm64 \
2020
libprotobuf-dev:arm64 \
2121
libnet-dev:arm64 \

scripts/build/Dockerfile.armv7-cross

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
1313
libssl-dev:armhf \
1414
protobuf-c-compiler \
1515
protobuf-compiler \
16-
python-protobuf \
16+
python3-protobuf \
1717
libnl-3-dev:armhf \
1818
libprotobuf-dev:armhf \
1919
libnet-dev:armhf \

scripts/build/Dockerfile.linux32.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y \
2121
pkg-config \
2222
protobuf-c-compiler \
2323
protobuf-compiler \
24-
python-minimal \
25-
python-future
24+
python3-minimal \
25+
python3-future
2626

2727
COPY . /criu
2828
WORKDIR /criu

scripts/build/Dockerfile.mips64el-cross

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
1313
libssl-dev:mips64el \
1414
protobuf-c-compiler \
1515
protobuf-compiler \
16-
python-protobuf \
16+
python3-protobuf \
1717
libnl-3-dev:mips64el \
1818
libprotobuf-dev:mips64el \
1919
libnet-dev:mips64el \

scripts/build/Dockerfile.openj9-ubuntu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ FROM adoptopenjdk/openjdk8-openj9:latest
33
RUN apt-get update && apt-get install -y --no-install-recommends protobuf-c-compiler \
44
libprotobuf-c-dev \
55
libaio-dev \
6-
python-future \
6+
python3-future \
77
libprotobuf-dev \
88
protobuf-compiler \
99
libcap-dev \
1010
libnl-3-dev \
1111
gdb \
1212
bash \
13-
python-protobuf \
14-
python-yaml \
13+
python3-protobuf \
14+
python3-yaml \
1515
libnet-dev \
1616
libnl-route-3-dev \
1717
libbsd-dev \

scripts/build/Dockerfile.ppc64-cross

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
1515
libssl-dev:ppc64el \
1616
protobuf-c-compiler \
1717
protobuf-compiler \
18-
python-protobuf \
18+
python3-protobuf \
1919
libnl-3-dev:ppc64el \
2020
libprotobuf-dev:ppc64el \
2121
libnet-dev:ppc64el \

scripts/build/Dockerfile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y \
2121
pkg-config \
2222
protobuf-c-compiler \
2323
protobuf-compiler \
24-
python-minimal \
25-
python-future
24+
python3-minimal \
25+
python3-future
2626

2727
COPY . /criu
2828
WORKDIR /criu

0 commit comments

Comments
 (0)