mirror of
https://github.com/siderolabs/extensions.git
synced 2025-08-06 06:17:11 +02:00
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:
parent
622ec82db2
commit
7ba3b3a8b5
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
# 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
|
name: default
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
labels: ${{ steps.retrieve-pr-labels.outputs.result }}
|
labels: ${{ steps.retrieve-pr-labels.outputs.result }}
|
||||||
services:
|
services:
|
||||||
buildkitd:
|
buildkitd:
|
||||||
image: moby/buildkit:v0.12.3
|
image: moby/buildkit:v0.12.4
|
||||||
options: --privileged
|
options: --privileged
|
||||||
ports:
|
ports:
|
||||||
- 1234:1234
|
- 1234:1234
|
||||||
@ -77,11 +77,12 @@ jobs:
|
|||||||
make nonfree PUSH=true
|
make nonfree PUSH=true
|
||||||
- name: Retrieve PR labels
|
- name: Retrieve PR labels
|
||||||
id: retrieve-pr-labels
|
id: retrieve-pr-labels
|
||||||
if: github.event_name == 'pull_request' && always()
|
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
retries: "3"
|
retries: "3"
|
||||||
script: |
|
script: |
|
||||||
|
if (context.eventName != "pull_request") { return "[]" }
|
||||||
|
|
||||||
const resp = await github.rest.issues.get({
|
const resp = await github.rest.issues.get({
|
||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
@ -114,7 +115,7 @@ jobs:
|
|||||||
- default
|
- default
|
||||||
services:
|
services:
|
||||||
buildkitd:
|
buildkitd:
|
||||||
image: moby/buildkit:v0.12.3
|
image: moby/buildkit:v0.12.4
|
||||||
options: --privileged
|
options: --privileged
|
||||||
ports:
|
ports:
|
||||||
- 1234:1234
|
- 1234:1234
|
||||||
|
4
.github/workflows/weekly.yaml
vendored
4
.github/workflows/weekly.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
# 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
|
name: weekly
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -16,7 +16,7 @@ jobs:
|
|||||||
- pkgs
|
- pkgs
|
||||||
services:
|
services:
|
||||||
buildkitd:
|
buildkitd:
|
||||||
image: moby/buildkit:v0.12.3
|
image: moby/buildkit:v0.12.4
|
||||||
options: --privileged
|
options: --privileged
|
||||||
ports:
|
ports:
|
||||||
- 1234:1234
|
- 1234:1234
|
||||||
|
@ -25,6 +25,7 @@ spec:
|
|||||||
- nvidia-fabricmanager
|
- nvidia-fabricmanager
|
||||||
- nvidia-open-gpu-kernel-modules
|
- nvidia-open-gpu-kernel-modules
|
||||||
- qemu-guest-agent
|
- qemu-guest-agent
|
||||||
|
- qlogic-firmware
|
||||||
- stargz-snapshotter
|
- stargz-snapshotter
|
||||||
- tailscale
|
- tailscale
|
||||||
- thunderbolt
|
- thunderbolt
|
||||||
|
2
Makefile
2
Makefile
@ -1,6 +1,5 @@
|
|||||||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
||||||
#
|
#
|
||||||
# Generated on 2023-12-07T13:02:30Z by kres latest.
|
|
||||||
|
|
||||||
# common variables
|
# common variables
|
||||||
|
|
||||||
@ -72,6 +71,7 @@ TARGETS += nvidia-container-toolkit
|
|||||||
TARGETS += nvidia-fabricmanager
|
TARGETS += nvidia-fabricmanager
|
||||||
TARGETS += nvidia-open-gpu-kernel-modules
|
TARGETS += nvidia-open-gpu-kernel-modules
|
||||||
TARGETS += qemu-guest-agent
|
TARGETS += qemu-guest-agent
|
||||||
|
TARGETS += qlogic-firmware
|
||||||
TARGETS += stargz-snapshotter
|
TARGETS += stargz-snapshotter
|
||||||
TARGETS += tailscale
|
TARGETS += tailscale
|
||||||
TARGETS += thunderbolt
|
TARGETS += thunderbolt
|
||||||
|
@ -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` |
|
| [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-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` |
|
| [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
|
### Drivers
|
||||||
|
|
||||||
|
10
firmware/qlogic-firmware/manifest.yaml
Normal file
10
firmware/qlogic-firmware/manifest.yaml
Normal 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"
|
19
firmware/qlogic-firmware/pkg.yaml
Normal file
19
firmware/qlogic-firmware/pkg.yaml
Normal 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: /
|
1
firmware/qlogic-firmware/vars.yaml
Normal file
1
firmware/qlogic-firmware/vars.yaml
Normal file
@ -0,0 +1 @@
|
|||||||
|
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}"
|
Loading…
Reference in New Issue
Block a user