File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,13 +101,13 @@ jobs:
101101 run : |
102102 set -vx
103103 if [ ! -d sysroot-focal ]; then
104- sudo debootstrap --arch=$(dpkg --print-architecture) --foreign focal sysroot-focal http://archive.ubuntu.com/ubuntu
104+ sudo debootstrap --arch=$(dpkg --print-architecture) focal sysroot-focal http://archive.ubuntu.com/ubuntu
105105 fi
106- sudo chroot sysroot-focal ${PWD}/sysroot-focal/$(which apt-get) update
107- sudo chroot sysroot-focal ${PWD}/sysroot-focal/$(which apt-get) install -y build-essential git wget curl sudo unzip zip 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
106+ sudo chroot sysroot-focal apt-get update
107+ sudo chroot sysroot-focal apt-get install -y build-essential git wget curl sudo unzip zip 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
108108 # If we really need gcc-10, we can get it from this PPA:
109- sudo chroot sysroot-focal ${PWD}/sysroot-focal/$(which apt-get) install -y software-properties-common
110- sudo chroot sysroot-focal ${PWD}/sysroot-focal/$(which sudo) add-apt-repository ppa:ubuntu-toolchain-r/test
109+ sudo chroot sysroot-focal apt-get install -y software-properties-common
110+ sudo chroot sysroot-focal sudo add-apt-repository ppa:ubuntu-toolchain-r/test
111111 # So the OpenJDK configuration and build can use the sysroot
112112 sudo chown -R $USER:$USER sysroot-focal
113113
You can’t perform that action at this time.
0 commit comments