Files
Raspberry-Pi-Linux-Kernel/.gitea/workflows/jobsnippets
Cantibra 7869d9e8a5
Some checks failed
Raspberry Pi Linux Kernel (Bookworm) / Raspberry Pi Linux Sources (push) Successful in 2m59s
Raspberry Pi Linux Kernel (Bookworm) / Raspberry Pi v8 Linux Kernel (Meta-Package) (push) Successful in 11s
Raspberry Pi Linux Kernel (Bookworm) / Raspberry Pi v8 Linux Headers (Meta-Package) (push) Successful in 11s
Raspberry Pi Linux Kernel (Bookworm) / Raspberry Pi Linux Kernel (bcm2711) (push) Failing after 1h41m33s
Raspberry Pi Linux Kernel (Bookworm) / Raspberry Pi v8 Linux Kernel (push) Has been skipped
Raspberry Pi Linux Kernel (Bookworm) / Raspberry Pi v8 Linux Headers (Proxmox) (push) Has been skipped
Raspberry Pi Linux Kernel (Bookworm) / Raspberry Pi v8 Linux libc Development (Proxmox) (push) Has been skipped
1
2026-03-03 05:48:09 +01:00

327 lines
17 KiB
Plaintext

bcm2711-pve-build:
name: Raspberry Pi Linux Kernel (bcm2711) (Proxmox)
needs:
- sources
runs-on: bookworm
steps:
- name: Repository [Clone]
uses: https://github.com/actions/checkout@v5
- name: Environment [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: .env
- name: Environment [Define]
id: environment
run: |
VERSION=$(/usr/bin/awk -F '=' '/VERSION/{print $2}' './.env')
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
- name: Environment [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: linux-sources-${{ steps.environment.outputs.version }}.tar.gz
- name: Linux Sources [Extract]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/install --directory --verbose './linux-sources'
/usr/bin/tar --directory="./linux-sources" --extract --gzip --file="./linux-sources-${VERSION}.tar.gz" --verbose
- name: Linux Sources [Prepare]
run: |
/usr/bin/mv --verbose './defconfig/bcm2711_pve_defconfig' './linux-sources/arch/arm64/configs/bcm2711_pve_defconfig'
- name: Linux Sources [Configuration]
run: |
/usr/bin/make --directory='./linux-sources' --jobs='6' bcm2711_pve_defconfig
- name: Linux Sources [Build]
run: |
/usr/bin/make LOCALVERSION='' --directory='./linux-sources' --jobs='6' Image.gz modules dtbs
- name: Debian Binary Packages [Build]
run: |
/usr/bin/make --directory='./linux-sources' --jobs='6' bindeb-pkg
- name: Linux Kernel [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/rm --recursive --verbose "./linux-sources/debian/linux-image-${VERSION}+rpt-rpi-v8/DEBIAN"
/usr/bin/rm --recursive --verbose "./linux-sources/debian/linux-image-${VERSION}+rpt-rpi-v8/etc"
/usr/bin/rm --recursive --verbose "./linux-sources/debian/linux-image-${VERSION}+rpt-rpi-v8/usr/share"
- name: Linux Kernel [Archive]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/tar --create --directory="./linux-sources/debian/linux-image-${VERSION}+rpt-rpi-v8" --file="./linux-image-${VERSION}_bcm2711-pve.tar.gz" --gzip '.' --verbose
- name: Linux Kernel [Artifact Upload]
uses: christopherHX/gitea-upload-artifact@v4
with:
name: linux-image-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
path: ./linux-image-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
if-no-files-found: error
compression-level: 0
overwrite: true
- name: Linux Headers [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/rm --recursive --verbose "./linux-sources/debian/linux-headers-${VERSION}+rpt-rpi-v8/DEBIAN"
/usr/bin/rm --recursive --verbose "./linux-sources/debian/linux-headers-${VERSION}+rpt-rpi-v8/usr/share"
- name: Linux Headers [Archive]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/tar --create --directory="./linux-sources/debian/linux-headers-${VERSION}+rpt-rpi-v8" --file="./linux-headers-${VERSION}_bcm2711-pve.tar.gz" --gzip '.' --verbose
- name: Linux Headers [Artifact Upload]
uses: christopherHX/gitea-upload-artifact@v4
with:
name: linux-headers-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
path: ./linux-headers-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
if-no-files-found: error
compression-level: 0
overwrite: true
- name: Linux libc Development [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/rm --recursive --verbose './linux-sources/debian/linux-libc-dev/DEBIAN'
/usr/bin/rm --recursive --verbose './linux-sources/debian/linux-libc-dev/usr/share'
- name: Linux libc Development [Archive]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/tar --create --directory='./linux-sources/debian/linux-libc-dev' --file="./linux-libc-dev-${VERSION}_bcm2711-pve.tar.gz" --gzip '.' --verbose
- name: Linux libc Development [Artifact Upload]
uses: christopherHX/gitea-upload-artifact@v4
with:
name: linux-libc-dev-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
path: ./linux-libc-dev-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
if-no-files-found: error
compression-level: 0
overwrite: true
bcm2711-pve-linux-image-rpt-rpi-v8:
name: Raspberry Pi v8 Linux Kernel (Proxmox)
needs:
- bcm2711-pve-build
runs-on: bookworm
steps:
- name: Repository [Clone]
uses: https://github.com/actions/checkout@v5
- name: Environment [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: .env
- name: Environment [Define]
id: environment
run: |
REPOCODENAME='bookworm'
/usr/bin/echo "REPOCODENAME=${REPOCODENAME}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'REPOCODENAME' to '${REPOCODENAME}'"
REPOCOMPONENT='pve8'
/usr/bin/echo "REPOCOMPONENT=${REPOCOMPONENT}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'REPOCOMPONENT' to '${REPOCOMPONENT}'"
VERSION=$(/usr/bin/awk -F '=' '/VERSION/{print $2}' './.env')
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
- name: Debian Package [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/mv --verbose './linux-image-x.x.x+rpt-rpi-v8 ' "./linux-image-${VERSION}+rpt-rpi-v8"
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" "./linux-image-${VERSION}+rpt-rpi-v8/DEBIAN/control"
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" "./linux-image-${VERSION}+rpt-rpi-v8/DEBIAN/postinst"
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" "./linux-image-${VERSION}+rpt-rpi-v8/DEBIAN/postrm"
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" "./linux-image-${VERSION}+rpt-rpi-v8/DEBIAN/preinst"
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" "./linux-image-${VERSION}+rpt-rpi-v8/DEBIAN/prerm"
/usr/bin/chmod --verbose '0755' "./linux-image-${VERSION}+rpt-rpi-v8/etc/kernel/postinst.d/z10-dkms-zfs"
/usr/bin/install --directory --verbose "./linux-image-${VERSION}+rpt-rpi-v8/etc/kernel/postrm.d"
/usr/bin/install --directory --verbose "./linux-image-${VERSION}+rpt-rpi-v8/etc/kernel/preinst.d"
/usr/bin/install --directory --verbose "./linux-image-${VERSION}+rpt-rpi-v8/etc/kernel/prerm.d"
- name: Debian Package [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: linux-image-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
- name: Debian Package [Extract]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/tar --directory="./linux-image-${VERSION}+rpt-rpi-v8" --extract --gzip --file="./linux-image-${VERSION}_bcm2711-pve.tar.gz" --verbose
- name: Debian Package [Build]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/dpkg-gen "./linux-image-${VERSION}+rpt-rpi-v8"
- name: Debian Repository [Prepare]
env:
REPOCODENAME: ${{ steps.environment.outputs.repocodename }}
REPOCOMPONENT: ${{ steps.environment.outputs.repocomponent }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/echo "${SSH_PRIVATE_KEY}" > './id_ed25519'
/usr/bin/chmod --quiet '0400' './id_ed25519'
/usr/bin/echo "REPOCODENAME='${REPOCODENAME}'" > "./linux-image-${VERSION}+rpt-rpi-v8.cfg"
/usr/bin/echo "REPOCOMPONENT='${REPOCOMPONENT}'" >> "./linux-image-${VERSION}+rpt-rpi-v8.cfg"
- name: Debian Package [Debian Repository Upload]
env:
SSH_HOSTNAME: ${{ vars.SSH_HOSTNAME }}
SSH_USER: ${{ vars.SSH_USER }}
run: |
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile './known_hosts'" "./linux-image-${VERSION}+rpt-rpi-v8.deb" "${SSH_USER}"@"${SSH_HOSTNAME}":'/var/lib/reprepro/include'
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile './known_hosts'" "./linux-image-${VERSION}+rpt-rpi-v8.cfg" "${SSH_USER}"@"${SSH_HOSTNAME}":'/var/lib/reprepro/include'
- name: Release Package [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/mv --verbose "./linux-image-${VERSION}+rpt-rpi-v8.deb" "./linux-image-${VERSION}+rpt-rpi-v8_bcm2711-pve.deb"
- name: Release Package [Publish]
uses: https://gitea.com/actions/gitea-release-action@v1
with:
name: ${{ env.RELEASE }} v${{ steps.environment.outputs.version }}
tag_name: v${{ steps.environment.outputs.version }}
files: |
linux-image-${{ steps.environment.outputs.version }}+rpt-rpi-v8_bcm2711-pve.deb
bcm2711-pve-linux-headers-rpt-rpi-v8:
name: Raspberry Pi v8 Linux Headers (Proxmox)
needs:
- bcm2711-pve-build
runs-on: bookworm
steps:
- name: Repository [Clone]
uses: https://github.com/actions/checkout@v5
- name: Environment [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: .env
- name: Environment [Define]
id: environment
run: |
REPOCODENAME='bookworm'
/usr/bin/echo "REPOCODENAME=${REPOCODENAME}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'REPOCODENAME' to '${REPOCODENAME}'"
REPOCOMPONENT='pve8'
/usr/bin/echo "REPOCOMPONENT=${REPOCOMPONENT}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'REPOCOMPONENT' to '${REPOCOMPONENT}'"
VERSION=$(/usr/bin/awk -F '=' '/VERSION/{print $2}' './.env')
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
- name: Debian Package [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/mv --verbose './linux-headers-x.x.x+rpt-rpi-v8' "./linux-headers-${VERSION}+rpt-rpi-v8"
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" "./linux-headers-${VERSION}+rpt-rpi-v8/DEBIAN/control"
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" "./linux-headers-${VERSION}+rpt-rpi-v8/DEBIAN/postinst"
- name: Debian Package [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: linux-headers-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
- name: Debian Package [Extract]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/tar --directory="./linux-headers-${VERSION}+rpt-rpi-v8" --extract --gzip --file="./linux-headers-${VERSION}_bcm2711-pve.tar.gz" --verbose
- name: Debian Package [Build]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/dpkg-gen "./linux-headers-${VERSION}+rpt-rpi-v8"
- name: Debian Repository [Prepare]
env:
REPOCODENAME: ${{ steps.environment.outputs.repocodename }}
REPOCOMPONENT: ${{ steps.environment.outputs.repocomponent }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/echo "${SSH_PRIVATE_KEY}" > './id_ed25519'
/usr/bin/chmod --quiet '0400' './id_ed25519'
/usr/bin/echo "REPOCODENAME='${REPOCODENAME}'" > "./linux-headers-${VERSION}+rpt-rpi-v8.cfg"
/usr/bin/echo "REPOCOMPONENT='${REPOCOMPONENT}'" >> "./linux-headers-${VERSION}+rpt-rpi-v8.cfg"
- name: Debian Package [Debian Repository Upload]
env:
SSH_HOSTNAME: ${{ vars.SSH_HOSTNAME }}
SSH_USER: ${{ vars.SSH_USER }}
run: |
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile './known_hosts'" "./linux-headers-${VERSION}+rpt-rpi-v8.deb" "${SSH_USER}"@"${SSH_HOSTNAME}":'/var/lib/reprepro/include'
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile './known_hosts'" "./linux-headers-${VERSION}+rpt-rpi-v8.cfg" "${SSH_USER}"@"${SSH_HOSTNAME}":'/var/lib/reprepro/include'
- name: Release Package [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/mv --verbose "./linux-headers-${VERSION}+rpt-rpi-v8.deb" "./linux-headers-${VERSION}+rpt-rpi-v8_bcm2711-pve.deb"
- name: Release Package [Publish]
uses: https://gitea.com/actions/gitea-release-action@v1
with:
name: ${{ env.RELEASE }} v${{ steps.environment.outputs.version }}
tag_name: v${{ steps.environment.outputs.version }}
files: |
linux-headers-${{ steps.environment.outputs.version }}+rpt-rpi-v8_bcm2711-pve.deb
bcm2711-pve-linux-libc-dev:
name: Raspberry Pi v8 Linux libc Development (Proxmox)
needs:
- bcm2711-pve-build
runs-on: bookworm
steps:
- name: Repository [Clone]
uses: https://github.com/actions/checkout@v5
- name: Environment [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: .env
- name: Environment [Define]
id: environment
run: |
REPOCODENAME='bookworm'
/usr/bin/echo "REPOCODENAME=${REPOCODENAME}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'REPOCODENAME' to '${REPOCODENAME}'"
REPOCOMPONENT='pve8'
/usr/bin/echo "REPOCOMPONENT=${REPOCOMPONENT}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'REPOCOMPONENT' to '${REPOCOMPONENT}'"
VERSION=$(/usr/bin/awk -F '=' '/VERSION/{print $2}' './.env')
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
- name: Debian Package [Prepare]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/sed --in-place --expression="s/x.x.x/${VERSION}/g" './linux-libc-dev/DEBIAN/control'
- name: Debian Package [Artifact Download]
uses: christopherhx/gitea-download-artifact@v4
with:
name: linux-libc-dev-${{ steps.environment.outputs.version }}_bcm2711-pve.tar.gz
- name: Debian Package [Extract]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/tar --directory='./linux-libc-dev' --extract --gzip --file="./linux-libc-dev-${VERSION}_bcm2711-pve.tar.gz" --verbose
- name: Debian Package [Build]
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/dpkg-gen './linux-libc-dev'
- name: Debian Repository [Prepare]
env:
REPOCODENAME: ${{ steps.environment.outputs.repocodename }}
REPOCOMPONENT: ${{ steps.environment.outputs.repocomponent }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
run: |
/usr/bin/echo "${SSH_PRIVATE_KEY}" > './id_ed25519'
/usr/bin/chmod --quiet '0400' './id_ed25519'
/usr/bin/echo "REPOCODENAME='${REPOCODENAME}'" > './linux-libc-dev.cfg'
/usr/bin/echo "REPOCOMPONENT='${REPOCOMPONENT}'" >> './linux-libc-dev.cfg'
- name: Debian Package [Debian Repository Upload]
env:
SSH_HOSTNAME: ${{ vars.SSH_HOSTNAME }}
SSH_USER: ${{ vars.SSH_USER }}
run: |
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile './known_hosts'" './linux-libc-dev.deb' "${SSH_USER}"@"${SSH_HOSTNAME}":'/var/lib/reprepro/include'
/usr/bin/scp -4 -B -C -i './id_ed25519' -o 'StrictHostKeyChecking no' -o "UserKnownHostsFile './known_hosts'" './linux-libc-dev.cfg' "${SSH_USER}"@"${SSH_HOSTNAME}":'/var/lib/reprepro/include'
- name: Release Package [Prepare]
run: |
/usr/bin/mv --verbose './linux-libc-dev.deb' './linux-libc-dev_bcm2711-pve.deb'
- name: Release Package [Publish]
uses: https://gitea.com/actions/gitea-release-action@v1
with:
name: ${{ env.RELEASE }} v${{ steps.environment.outputs.version }}
tag_name: v${{ steps.environment.outputs.version }}
files: |
linux-libc-dev_bcm2711-pve.deb