Skip to content

Rhino Linux ISO Generation #36

Rhino Linux ISO Generation

Rhino Linux ISO Generation #36

Workflow file for this run

name: Rhino Linux ISO Generation
on:
workflow_dispatch
jobs:
build_amd64:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/mantic/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install --reinstall debootstrap mtools dosfstools qemu-user-static binfmt-support dpkg-dev -y
sudo ln -sfn /usr/share/debootstrap/scripts/gutsy /usr/share/debootstrap/scripts/noble
sudo dpkg -i debs/live-build_*_all.deb
sudo mv /usr/share/debootstrap/functions functions
sudo patch -i 0002-remove-WRONGSUITE-error.patch
sudo mv functions /usr/share/debootstrap/functions
sudo cp binary_grub-efi /usr/lib/live/build/binary_grub-efi
- name: Make scripts executable
run: chmod -R +x build.sh etc/auto/config etc/terraform.conf etc/
- name: Build ISO
run: |
sudo ./build.sh etc/terraform.conf
echo "ISOX64=$(cd builds/amd64; ls *.iso)" >> $GITHUB_ENV
- uses: actions/[email protected]
with:
name: ${{ env.ISOX64 }}
path: builds/amd64/${{ env.ISOX64 }}
build_arm64:
runs-on: buildjet-4vcpu-ubuntu-2204-arm
steps:
- uses: actions/checkout@v4
- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/mantic/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install --reinstall debootstrap mtools dosfstools qemu-user-static binfmt-support dpkg-dev -y
sudo ln -sfn /usr/share/debootstrap/scripts/gutsy /usr/share/debootstrap/scripts/noble
sudo dpkg -i debs/live-build_*_all.deb
sudo mv /usr/share/debootstrap/functions functions
sudo patch -i 0002-remove-WRONGSUITE-error.patch
sudo mv functions /usr/share/debootstrap/functions
sudo cp binary_grub-efi /usr/lib/live/build/binary_grub-efi
- name: Make scripts executable
run: chmod -R +x build.sh etc/auto/config etc/terraform.conf etc/
- name: Build ISO
run: |
sudo ./build.sh etc/terraform.conf
echo "ISOA64=$(cd builds/arm64; ls *.iso)" >> $GITHUB_ENV
- uses: actions/[email protected]
with:
name: ${{ env.ISOA64 }}
path: builds/arm64/${{ env.ISOA64 }}