Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix authored May 10, 2024
1 parent 86eecd6 commit b1581c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ jobs:
uses: actions/checkout@v2
- name: Run the build process with aarch64 rootfs
run: |
set -ex
sudo apt update
sudo apt install qemu-user-static binfmt-support debootstrap wget unzip qemu-utils -y
sudo mkdir -p work
sudo service binfmt-support start || true
sudo debootstrap --foreign --no-check-gpg --variant=minbase --arch=arm64 testing work/rootfs
sudo cp $(which qemu-aarch64-static) work/rootfs/usr/bin/qemu-aarch64-static
which service && sudo service binfmt-support start
sudo install $(which qemu-aarch64-static) work/rootfs/usr/bin/qemu-aarch64-static
echo "nameserver 1.1.1.1" | sudo tee work/rootfs/etc/resolv.conf
sudo chroot work/rootfs /usr/bin/qemu-aarch64-static /bin/bash /debootstrap/debootstrap --second-stage
sudo chroot work/rootfs /usr/bin/qemu-aarch64-static apt install devscripts equivs -y
Expand Down

0 comments on commit b1581c6

Please sign in to comment.