uraimo / run-on-arch-action

A Github Action that executes jobs/commands on non-x86 cpu architectures (ARMv6, ARMv7, aarch64, s390x, ppc64le, riscv64) via QEMU
BSD 3-Clause "New" or "Revised" License
687 stars 155 forks source link

Please test if can install kupferbootstrap env to support flashing images for mobile archlinux #156

Closed gmicroul closed 3 hours ago

gmicroul commented 3 hours ago

https://gitlab.com/kupfer/kupferbootstrap (main page) https://gitlab.com/kupfer/kupferbootstrap/-/issues/20 (sample to compile images of 6t using kupfer/docker/docker-buildx)

Installation Install Python 3, Docker, and git.

On Arch: pacman -S python docker git --needed --noconfirm

Hint

After installing Docker you will have to add your user to the docker group:

sudo usermod -aG docker "$(whoami)"

Then restart your desktop session for the new group to take effect.

Pick which Kupferbootstrap branch to clone: usually either main or dev

Clone the repository: git clone -b INSERT_BRANCHNAME_HERE https://gitlab.com/kupfer/kupferbootstrap

Change into the folder: cd kupferbootstrap

Install python dependencies: pip3 install -r requirements.txt

Note

Most of our python dependencies are available as distro packages on most distros, sadly it’s incomplete on Arch.

See requirements.txt for the list of required python packages.

Symlink kupferbootstrap into your $PATH: sudo ln -s "$(pwd)/bin/kupferbootstrap" /usr/local/bin/

You should now be able to run kupferbootstrap --help!

uraimo commented 3 hours ago

Not sure what you are asking here.