43
This commit is contained in:
@@ -13,9 +13,9 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
VERSION: ${{ steps.environment.outputs.version }}
|
VERSION: ${{ steps.environment.outputs.version }}
|
||||||
steps:
|
steps:
|
||||||
- name: Linux Sources [Clone]
|
- name: Linux Sources [Artifact]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/git clone --verbose --depth='1' --branch "${{ env.branch }}" 'https://github.com/raspberrypi/linux'
|
/usr/bin/git clone --verbose --depth='1' --branch '${{ env.branch }}' 'https://github.com/raspberrypi/linux'
|
||||||
- name: Environment
|
- name: Environment
|
||||||
id: environment
|
id: environment
|
||||||
run: |
|
run: |
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
overwrite: true
|
overwrite: true
|
||||||
archive: false
|
archive: false
|
||||||
build:
|
build:
|
||||||
name: Raspberry Pi Linux Build
|
name: Raspberry Pi Linux Kernel [Artifact]
|
||||||
needs:
|
needs:
|
||||||
- sources
|
- sources
|
||||||
strategy:
|
strategy:
|
||||||
@@ -63,57 +63,56 @@ jobs:
|
|||||||
- name: Linux Sources [Extract]
|
- name: Linux Sources [Extract]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/install --directory --verbose './linux-sources'
|
/usr/bin/install --directory --verbose './linux-sources'
|
||||||
/usr/bin/tar --directory="./linux-sources" --extract --gzip --file="./linux-sources-${{ needs.sources.outputs.version }}.tar.gz" --verbose
|
/usr/bin/tar --directory='./linux-sources' --extract --gzip --file='./linux-sources-${{ needs.sources.outputs.version }}.tar.gz' --verbose
|
||||||
- name: Linux Sources [Prepare]
|
- name: Linux Sources [Prepare]
|
||||||
if: matrix.defconfig != 'bcm2711_defconfig' && matrix.defconfig != 'bcm2712_defconfig'
|
if: matrix.defconfig != 'bcm2711_defconfig' && matrix.defconfig != 'bcm2712_defconfig'
|
||||||
env:
|
env:
|
||||||
DEFCONFIG: ${{ matrix.defconfig }}
|
DEFCONFIG: ${{ matrix.defconfig }}
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose "./config/${{ matrix.defconfig }}-${{ env.branch }}" "./linux-sources/arch/arm64/configs/${DEFCONFIG%%-*}"
|
/usr/bin/mv --verbose "./config/${DEFCONFIG}-${{ env.branch }}" "./linux-sources/arch/arm64/configs/${DEFCONFIG%%-*}"
|
||||||
- name: Linux Sources [Configuration]
|
- name: Linux Sources [Configuration]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/make --directory='./linux-sources' --jobs="${{ steps.environment.outputs.units }}" CC="${{ matrix.gcc }}" "${{ matrix.defconfig }}"
|
/usr/bin/make --directory='./linux-sources' --jobs='${{ steps.environment.outputs.units }}' CC='${{ matrix.gcc }}' '${{ matrix.defconfig }}'
|
||||||
./linux-sources/scripts/config --file './linux-sources/.config' --set-str CONFIG_BUILD_SALT +${{ matrix.image }}-rpi-${{ matrix.revision }}
|
./linux-sources/scripts/config --file './linux-sources/.config' --set-str CONFIG_BUILD_SALT +${{ matrix.image }}-rpi-${{ matrix.revision }}
|
||||||
./linux-sources/scripts/config --file './linux-sources/.config' --set-str CONFIG_LD_ORPHAN_WARN_LEVEL error
|
./linux-sources/scripts/config --file './linux-sources/.config' --set-str CONFIG_LD_ORPHAN_WARN_LEVEL error
|
||||||
./linux-sources/scripts/config --file './linux-sources/.config' --set-str CONFIG_LOCALVERSION +${{ matrix.image }}-rpi-${{ matrix.revision }}
|
./linux-sources/scripts/config --file './linux-sources/.config' --set-str CONFIG_LOCALVERSION +${{ matrix.image }}-rpi-${{ matrix.revision }}
|
||||||
- name: Linux Sources [Build]
|
- name: Linux Sources [Build]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/make --directory='./linux-sources' --jobs="${{ steps.environment.outputs.units }}" CC="${{ matrix.gcc }}" LOCALVERSION='' Image.gz modules dtbs
|
/usr/bin/make --directory='./linux-sources' --jobs='${{ steps.environment.outputs.units }}' CC='${{ matrix.gcc }}' LOCALVERSION='' Image.gz modules dtbs
|
||||||
- name: Linux Sources Debian Packages [Build]
|
- name: Linux Sources Debian Packages [Build]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/make --directory='./linux-sources' --jobs="${{ steps.environment.outputs.units }}" CC="${{ matrix.gcc }}" LOCALVERSION='' bindeb-pkg
|
/usr/bin/make --directory='./linux-sources' --jobs='${{ steps.environment.outputs.units }}' CC='${{ matrix.gcc }}' LOCALVERSION='' bindeb-pkg
|
||||||
|
|
||||||
- name: Linux Image [Build]
|
- name: Linux Image [Build]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-image' "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-image' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_CODENAME/${{ matrix.codename }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/chmod --verbose '0755' "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/chmod --verbose '0755' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/chmod --verbose '0755' "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm"
|
/usr/bin/chmod --verbose '0755' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postrm'
|
||||||
/usr/bin/chmod --verbose '0755' "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst"
|
/usr/bin/chmod --verbose '0755' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/preinst'
|
||||||
/usr/bin/chmod --verbose '0755' "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm"
|
/usr/bin/chmod --verbose '0755' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/prerm'
|
||||||
/usr/bin/mv --verbose "./linux-sources/debian/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/boot" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/boot"
|
/usr/bin/mv --verbose './linux-sources/debian/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/boot' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/boot'
|
||||||
/usr/bin/mv --verbose "./linux-sources/debian/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/lib" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/lib"
|
/usr/bin/mv --verbose './linux-sources/debian/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/lib' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/lib'
|
||||||
/usr/bin/install --directory --verbose "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr"
|
/usr/bin/install --directory --verbose './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr'
|
||||||
/usr/bin/mv --verbose "./linux-sources/debian/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/usr/lib" "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/lib"
|
/usr/bin/mv --verbose './linux-sources/debian/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/usr/lib' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/lib'
|
||||||
/usr/bin/mv --verbose './linux-sources/arch/arm64/boot/dts/overlays/README' "./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/lib/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/overlays/README"
|
/usr/bin/mv --verbose './linux-sources/arch/arm64/boot/dts/overlays/README' './linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/lib/linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/overlays/README'
|
||||||
- name: Linux Image [Archive]
|
- name: Linux Image [Archive]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory='./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}' --file='./linux-image-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz' --gzip '.' --verbose
|
||||||
- name: Linux Image [Artifact Upload]
|
- name: Linux Image [Artifact Upload]
|
||||||
uses: christopherhx/gitea-upload-artifact@v7
|
uses: christopherhx/gitea-upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
@@ -125,15 +124,15 @@ jobs:
|
|||||||
- name: Linux Image Meta [Build]
|
- name: Linux Image Meta [Build]
|
||||||
if: env.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-image-meta' "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-image-meta' './linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_CODENAME/${{ matrix.codename }}/g' './linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
- name: Linux Image Meta [Archive]
|
- name: Linux Image Meta [Archive]
|
||||||
if: env.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory='./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}' --file='./linux-image-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz' --gzip '.' --verbose
|
||||||
- name: Linux Image Meta [Artifact Upload]
|
- name: Linux Image Meta [Artifact Upload]
|
||||||
if: env.meta == 'true'
|
if: env.meta == 'true'
|
||||||
uses: christopherhx/gitea-upload-artifact@v7
|
uses: christopherhx/gitea-upload-artifact@v7
|
||||||
@@ -145,22 +144,22 @@ jobs:
|
|||||||
archive: false
|
archive: false
|
||||||
- name: Linux Headers [Build]
|
- name: Linux Headers [Build]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-headers' "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-headers' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_CODENAME/${{ matrix.codename }}/g' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/chmod --verbose '0755' "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/chmod --verbose '0755' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/postinst'
|
||||||
/usr/bin/mv --verbose "./linux-sources/debian/linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/lib" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/lib"
|
/usr/bin/mv --verbose './linux-sources/debian/linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/lib' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/lib'
|
||||||
/usr/bin/install --directory --verbose "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr"
|
/usr/bin/install --directory --verbose './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr'
|
||||||
/usr/bin/mv --verbose "./linux-sources/debian/linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/usr/src" "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/src"
|
/usr/bin/mv --verbose './linux-sources/debian/linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/usr/src' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/src'
|
||||||
/usr/bin/mv --verbose './linux-sources/.config' "./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/src/linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/.config"
|
/usr/bin/mv --verbose './linux-sources/.config' './linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/usr/src/linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}/.config'
|
||||||
- name: Linux Headers [Archive]
|
- name: Linux Headers [Archive]
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory='./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}' --file='./linux-headers-${{ needs.sources.outputs.version }}+${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz' --gzip '.' --verbose
|
||||||
- name: Linux Headers [Artifact Upload]
|
- name: Linux Headers [Artifact Upload]
|
||||||
uses: https://github.com/christopherhx/gitea-upload-artifact@v7
|
uses: https://github.com/christopherhx/gitea-upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
@@ -172,15 +171,15 @@ jobs:
|
|||||||
- name: Linux Headers Meta [Build]
|
- name: Linux Headers Meta [Build]
|
||||||
if: env.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-headers-meta' "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-headers-meta' './linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_CODENAME/${{ matrix.codename }}/g' './linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_IMAGE/${{ matrix.image }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_IMAGE/${{ matrix.image }}/g' './linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_REVISION/${{ matrix.revision }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_REVISION/${{ matrix.revision }}/g' './linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION/${{ needs.sources.outputs.version }}/g" "./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION/${{ needs.sources.outputs.version }}/g' './linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}/DEBIAN/control'
|
||||||
- name: Linux Headers Meta [Archive]
|
- name: Linux Headers Meta [Archive]
|
||||||
if: env.meta == 'true'
|
if: env.meta == 'true'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}" --file="./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory='./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}' --file='./linux-headers-${{ matrix.image }}-rpi-${{ matrix.revision }}_${{ matrix.codename }}.tar.gz' --gzip '.' --verbose
|
||||||
- name: Linux Headers Meta [Artifact Upload]
|
- name: Linux Headers Meta [Artifact Upload]
|
||||||
if: env.meta == 'true'
|
if: env.meta == 'true'
|
||||||
uses: christopherhx/gitea-upload-artifact@v7
|
uses: christopherhx/gitea-upload-artifact@v7
|
||||||
@@ -193,15 +192,15 @@ jobs:
|
|||||||
- name: Linux libc Development [Build]
|
- name: Linux libc Development [Build]
|
||||||
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/mv --verbose './linux-libc-dev' "./linux-libc-dev_${{ matrix.codename }}"
|
/usr/bin/mv --verbose './linux-libc-dev' './linux-libc-dev_${{ matrix.codename }}'
|
||||||
/usr/bin/install --directory --verbose "./linux-libc-dev_${{ matrix.codename }}/usr"
|
/usr/bin/install --directory --verbose './linux-libc-dev_${{ matrix.codename }}/usr'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_CODENAME/${{ matrix.codename }}/g" "./linux-libc-dev_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_CODENAME/${{ matrix.codename }}/g' './linux-libc-dev_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/sed --in-place --expression="s/CICD_VERSION//${{ needs.sources.outputs.version }}/g" "./linux-libc-dev_${{ matrix.codename }}/DEBIAN/control"
|
/usr/bin/sed --in-place --expression='s/CICD_VERSION//${{ needs.sources.outputs.version }}/g' './linux-libc-dev_${{ matrix.codename }}/DEBIAN/control'
|
||||||
/usr/bin/mv --verbose './linux-sources/debian/linux-libc-dev/usr/include' "./linux-libc-dev_${{ matrix.codename }}/usr/include"
|
/usr/bin/mv --verbose './linux-sources/debian/linux-libc-dev/usr/include' './linux-libc-dev_${{ matrix.codename }}/usr/include'
|
||||||
- name: Linux libc Development [Archive]
|
- name: Linux libc Development [Archive]
|
||||||
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/tar --create --directory="./linux-libc-dev_${{ matrix.codename }}" --file="./linux-libc-dev_${{ matrix.codename }}.tar.gz" --gzip '.' --verbose
|
/usr/bin/tar --create --directory='./linux-libc-dev_${{ matrix.codename }}' --file='./linux-libc-dev_${{ matrix.codename }}.tar.gz' --gzip '.' --verbose
|
||||||
- name: Linux libc Development [Artifact Upload]
|
- name: Linux libc Development [Artifact Upload]
|
||||||
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
if: env.meta == 'true' && matrix.defconfig == 'bcm2711_defconfig'
|
||||||
uses: christopherhx/gitea-upload-artifact@v7
|
uses: christopherhx/gitea-upload-artifact@v7
|
||||||
|
|||||||
Reference in New Issue
Block a user