Skip to content

Commit

Permalink
chore: switch to git ref for raspberrypi firmware
Browse files Browse the repository at this point in the history
Switch to using Git Ref for Raspberry Pi firmware. The repository
stopped tagging releases.

Fixes: #870

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Jan 24, 2024
1 parent 4af2d0f commit dfb5026
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/renovate.json
Expand Up @@ -56,12 +56,6 @@
],
"versioning": "regex:^(?<major>\\d{4})(?<minor>\\d{2})(?<patch>\\d{2})\\.?(?<build>\\d+)?$"
},
{
"matchPackageNames": [
"raspberrypi/firmware"
],
"versioning": "regex:^\\d+\\.(?<major>\\d{4})(?<minor>\\d{2})(?<patch>\\d{2})$"
},
{
"matchPackageNames": [
"u-boot/u-boot",
Expand Down
8 changes: 4 additions & 4 deletions Pkgfile
Expand Up @@ -141,10 +141,10 @@ vars:
openssl_sha256: 14c826f07c7e433706fb5c69fa9e25dab95684844b4c962a2cf1bf183eb4690e
openssl_sha512: ba3ac38365fd0c50f1eaf1693b6200a0d66f01ff53c2d3bb0358643cd83fc0c61fc3b84c0658cf74b6ae91d7d8a9da7291697bd9be3063ada8a9df879e58ed52

# renovate: datasource=github-tags depName=raspberrypi/firmware
raspberrypi_firmware_version: 1.20230405
raspberrypi_firmware_sha256: 08b208bf715d0379a93d38f20aed409cbe2e12c1dc27e3a3794416faefde1aa9
raspberrypi_firmware_sha512: ddc9baeba4e2e442bfe41e427c7ecdd38ee6d44ac4e7c297ae7d5a6c64b0aa1a81206929baeb9aceb74de6f96707b30040e82450ef4f01a78b958299c72e3857
# renovate: datasource=git-refs versioning=git depName=https://github.com/raspberrypi/firmware.git
raspberrypi_firmware_ref: 5f795d147fb21ecb0cf2e6d42929130b6b049de0
raspberrypi_firmware_sha256: c64a119620cf367ae4ff124961dd5783f71aa005999a2b9213a7730207806874
raspberrypi_firmware_sha512: 34e8f032dde782f7fa8344e3d39db3e681b62450102c8775d4e0f1c3b072df98133bedeac52b8a95cec0f5dc4f62b3ea4fae66e26834bd9ce2023a59bf137cc0

# renovate: datasource=github-tags depName=opencontainers/runc
runc_version: v1.1.11
Expand Down
2 changes: 1 addition & 1 deletion raspberrypi-firmware/pkg.yaml
Expand Up @@ -6,7 +6,7 @@ dependencies:
steps:
# {{ if eq .ARCH "aarch64" }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr restricting build to arm64 only
- sources:
- url: https://github.com/raspberrypi/firmware/archive/refs/tags/{{ .raspberrypi_firmware_version }}.tar.gz
- url: https://github.com/raspberrypi/firmware/archive/{{ .raspberrypi_firmware_ref }}.tar.gz
destination: raspberrypi-firmware.tar.gz
sha256: "{{ .raspberrypi_firmware_sha256 }}"
sha512: "{{ .raspberrypi_firmware_sha512 }}"
Expand Down

0 comments on commit dfb5026

Please sign in to comment.