Skip to content

Commit

Permalink
feat: extension providing QLogic firmware
Browse files Browse the repository at this point in the history
Add extension for QLogic firmware.

Pulled from #278.

Signed-off-by: Nathan Lee <[email protected]>
Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
nathandotleeathpe authored and frezbo committed Dec 13, 2023
1 parent 622ec82 commit 7ba3b3a
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
- nvidia-fabricmanager
- nvidia-open-gpu-kernel-modules
- qemu-guest-agent
- qlogic-firmware
- stargz-snapshotter
- tailscale
- thunderbolt
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 10 additions & 0 deletions firmware/qlogic-firmware/manifest.yaml
Original file line number Diff line number Diff line change
@@ -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"
19 changes: 19 additions & 0 deletions firmware/qlogic-firmware/pkg.yaml
Original file line number Diff line number Diff line change
@@ -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: /
1 change: 1 addition & 0 deletions firmware/qlogic-firmware/vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}"

0 comments on commit 7ba3b3a

Please sign in to comment.