feat: extension providing QLogic firmware

Add extension for QLogic firmware.

Pulled from #278.

Signed-off-by: Nathan Lee <nathan.lee@hpe.com>
Signed-off-by: Noel Georgi <git@frezbo.dev>
This commit is contained in:
Nathan Lee 2023-12-05 14:41:17 -06:00 committed by Noel Georgi
parent 622ec82db2
commit 7ba3b3a8b5
No known key found for this signature in database
GPG Key ID: 21A9F444075C9E36
8 changed files with 40 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2023-11-22T14:00:12Z by kres latest.
# Generated on 2023-12-12T23:07:05Z by kres latest.
name: default
concurrency:
@ -33,7 +33,7 @@ jobs:
labels: ${{ steps.retrieve-pr-labels.outputs.result }}
services:
buildkitd:
image: moby/buildkit:v0.12.3
image: moby/buildkit:v0.12.4
options: --privileged
ports:
- 1234:1234
@ -77,11 +77,12 @@ jobs:
make nonfree PUSH=true
- name: Retrieve PR labels
id: retrieve-pr-labels
if: github.event_name == 'pull_request' && always()
uses: actions/github-script@v6
with:
retries: "3"
script: |
if (context.eventName != "pull_request") { return "[]" }
const resp = await github.rest.issues.get({
issue_number: context.issue.number,
owner: context.repo.owner,
@ -114,7 +115,7 @@ jobs:
- default
services:
buildkitd:
image: moby/buildkit:v0.12.3
image: moby/buildkit:v0.12.4
options: --privileged
ports:
- 1234:1234

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2023-11-13T17:09:48Z by kres latest.
# Generated on 2023-12-12T23:07:05Z by kres latest.
name: weekly
concurrency:
@ -16,7 +16,7 @@ jobs:
- pkgs
services:
buildkitd:
image: moby/buildkit:v0.12.3
image: moby/buildkit:v0.12.4
options: --privileged
ports:
- 1234:1234

View File

@ -25,6 +25,7 @@ spec:
- nvidia-fabricmanager
- nvidia-open-gpu-kernel-modules
- qemu-guest-agent
- qlogic-firmware
- stargz-snapshotter
- tailscale
- thunderbolt

View File

@ -1,6 +1,5 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2023-12-07T13:02:30Z by kres latest.
# common variables
@ -72,6 +71,7 @@ TARGETS += nvidia-container-toolkit
TARGETS += nvidia-fabricmanager
TARGETS += nvidia-open-gpu-kernel-modules
TARGETS += qemu-guest-agent
TARGETS += qlogic-firmware
TARGETS += stargz-snapshotter
TARGETS += tailscale
TARGETS += thunderbolt

View File

@ -57,6 +57,7 @@ cosign verify --certificate-identity-regexp '@siderolabs\.com$' --certificate-oi
| [i915-ucode](firmware/i915-ucode/) | [ghcr.io/siderolabs/i915-ucode](https://github.com/siderolabs/extensions/pkgs/container/i915-ucode) | Intel GPU firmware | `linux firmware version` |
| [intel-ice-firmware](firmware/intel-ice-firmware/) | [ghcr.io/siderolabs/intel-ice-firmware](https://github.com/siderolabs/extensions/pkgs/container/intel-ice-firmware) | Intel ICE NIC firmware | `linux firmware version` |
| [intel-ucode](firmware/intel-ucode/) | [ghcr.io/siderolabs/intel-ucode](https://github.com/siderolabs/extensions/pkgs/container/intel-ucode) | Intel CPU microcode updates | `upstream version` |
| [qlogic-firmware](firmware/qlogic-firmware/) | [ghcr.io/siderolabs/qlogic-firmware](https://github.com/siderolabs/extensions/pkgs/container/qlogic-firmware) | Qlogic firmware | `linux firmware version` |
### Drivers

View File

@ -0,0 +1,10 @@
version: v1alpha1
metadata:
name: qlogic-firmware
version: "$VERSION"
author: Sidero Labs
description: |
This system extension provides firmware for QLogic devices.
compatibility:
talos:
version: ">= v1.0.0"

View File

@ -0,0 +1,19 @@
name: qlogic-firmware
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- stage: base
- image: "{{ .PKGS_PREFIX }}/linux-firmware:{{ .BUILD_ARG_PKGS }}"
steps:
- prepare:
- |
sed -i 's#$VERSION#{{ .VERSION }}#' /pkg/manifest.yaml
install:
- |
mkdir -p /rootfs/lib/firmware
cp -R -p /lib/firmware/qed /rootfs/lib/firmware
finalize:
- from: /rootfs
to: /rootfs
- from: /pkg/manifest.yaml
to: /

View File

@ -0,0 +1 @@
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}"