Build Pi Image #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build-Pi | |
on: | |
workflow_dispatch | |
jobs: | |
build-pi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: RPi-Distro/pi-gen | |
ref: arm64 | |
- uses: actions/checkout@v4 | |
with: | |
path: main | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y coreutils quilt parted qemu-user-static debootstrap zerofree zip dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc qemu-utils kpartx gpg pigz arch-test | |
- name: Run pi-gen | |
run: | | |
cp -r main/pi/* . | |
sudo ./build.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: deploy/*.img.xz |