diff --git a/.github/workflows/aarch64.yml b/.github/workflows/aarch64.yml index 64795805..cf34f093 100644 --- a/.github/workflows/aarch64.yml +++ b/.github/workflows/aarch64.yml @@ -10,6 +10,7 @@ jobs: - name: Installing Packages run: | sudo apt update -y + sudo apt upgrade sudo apt -y install binfmt-support qemu-user-static systemd-container wget libarchive-tools - name: Starting Services run: | @@ -27,8 +28,8 @@ jobs: run: | wget https://raw.githubusercontent.com/jensgrunzer1/swingmusic/refs/heads/master/aarch64_buildscript chmod +x aarch64_buildscript - cp aarch64_buildscript root/ - sudo systemd-nspawn -D root ./aarch64_buildscript + mv aarch64_buildscript root/ + sudo systemd-nspawn -D root sh -c ./aarch64_buildscript - name: Create Release id: create_release uses: actions/create-release@v1 diff --git a/aarch64_buildscript b/aarch64_buildscript index f36dc385..030478dc 100755 --- a/aarch64_buildscript +++ b/aarch64_buildscript @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # README # Builds swingmusic binary for aarch64 aka ARM64 architecture @@ -11,7 +11,6 @@ # Moving or renaming venv directory (comment inline below) will break that venv. # Additional poetry bug ongoing https://github.com/python-poetry/poetry/issues/5250 (comment inline below) # Changed to bash shebang above from repo build script setting of zsh -systemctl start systemd-resolved.service pacman-key --init pacman-key --populate archlinuxarm pacman -U --noconfirm https://github.com/jensgrunzer1/pyhon311-for-aarch64/raw/refs/heads/main/python311-3.11.9-2-aarch64.pkg.tar.xz