Skip to content

Commit 28c7370

Browse files
committed
GHA: Install debootstrap
1 parent 8d347a1 commit 28c7370

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: 'Install some dependencies'
8484
run: |
8585
sudo apt-get update
86-
sudo apt-get install -y build-essential git wget curl sudo unzip zip openjdk-11-jdk autoconf libfreetype6-dev libcups2-dev libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev libasound2-dev libffi-dev file binutils libfontconfig-dev
86+
sudo apt-get install -y build-essential git wget curl sudo unzip zip openjdk-11-jdk autoconf libfreetype6-dev libcups2-dev libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev libasound2-dev libffi-dev file binutils libfontconfig-dev debootstrap debian-archive-keyring
8787
# If we really need gcc-10, we can get it from this PPA:
8888
sudo apt-get install -y software-properties-common
8989
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
@@ -96,11 +96,12 @@ jobs:
9696

9797
- name: 'Setup cross-compilation sysroot'
9898
run: |
99+
set -vx
99100
if [ ! -d sysroot-bullseye ]; then
100101
sudo debootstrap --arch=$(dpkg --print-architecture) bullseye sysroot-bullseye http://archive.ubuntu.com/ubuntu
101102
fi
102103
sudo chroot sysroot-bullseye apt-get update
103-
sudo chroot sysroot-bullseye apt-get install -y build-essential git wget curl sudo unzip zip openjdk-11-jdk autoconf libfreetype6-dev libcups2-dev libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev libasound2-dev libffi-dev file binutils libfontconfig-dev
104+
sudo chroot sysroot-bullseye apt-get install -y build-essential git wget curl sudo unzip zip openjdk-11-jdk autoconf libfreetype6-dev libcups2-dev libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev libasound2-dev libffi-dev file binutils libfontconfig-dev debian-archive-keyring
104105
# If we really need gcc-10, we can get it from this PPA:
105106
sudo chroot sysroot-bullseye apt-get install -y software-properties-common
106107
sudo chroot sysroot-bullseye sudo add-apt-repository ppa:ubuntu-toolchain-r/test

0 commit comments

Comments
 (0)