gitlab-ci: Use crossbuild-essential-* packages
authorMichel Dänzer <mdaenzer@redhat.com>
Fri, 6 Sep 2019 15:33:13 +0000 (17:33 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 18 Sep 2019 10:36:48 +0000 (10:36 +0000)
They are convenience packages which pull in everything needed for
cross-building via dependencies.

Acked-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci/debian-install.sh

index 5c947b0d042776d0653baf5a29e4a43ea984c180..63b7270f50dfe8eb83b49aeb735e610dff97ad60 100644 (file)
@@ -77,18 +77,9 @@ for arch in $CROSS_ARCHITECTURES; do
     apt-get install -y --no-remove \
             libdrm-dev:${arch} \
             libexpat1-dev:${arch} \
-            linux-libc-dev:${arch}/stretch-backports \
-            libelf-dev:${arch}
+            libelf-dev:${arch} \
+            crossbuild-essential-${arch}
 done
-apt-get install -y --no-remove \
-        g++/stretch \
-        dpkg-dev \
-        gcc-aarch64-linux-gnu \
-        g++-aarch64-linux-gnu \
-        gcc-arm-linux-gnueabihf \
-        g++-arm-linux-gnueabihf \
-        gcc-i686-linux-gnu \
-        g++-i686-linux-gnu
 
 # for 64bit windows cross-builds
 apt-get install -y --no-remove mingw-w64