File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,14 @@ jobs:
9898 run : |
9999 set -vx
100100 if [ ! -d sysroot-focal ]; then
101- fakechroot fakeroot debootstrap --arch=$(dpkg --print-architecture) focal sysroot-focal http://archive.ubuntu.com/ubuntu
101+ sudo debootstrap --arch=$(dpkg --print-architecture) --foreign focal sysroot-focal http://archive.ubuntu.com/ubuntu
102102 fi
103- fakechroot fakeroot chroot sysroot-focal apt-get update
104- fakechroot fakeroot 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
103+ sudo chroot sysroot-focal apt-get update
104+ 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
105105 # If we really need gcc-10, we can get it from this PPA:
106- fakechroot fakeroot chroot sysroot-focal apt-get install -y software-properties-common
107- fakechroot fakeroot chroot sysroot-focal sudo add-apt-repository ppa:ubuntu-toolchain-r/test
106+ sudo chroot sysroot-focal apt-get install -y software-properties-common
107+ sudo chroot sysroot-focal sudo add-apt-repository ppa:ubuntu-toolchain-r/test
108+ sudo chown -R $USER:$USER sysroot-bullseye
108109
109110 - name : ' Checkout the JDK source'
110111 uses : actions/checkout@v3.6.0
You can’t perform that action at this time.
0 commit comments