Skip to content

Commit

Permalink
feat: realtek firmware
Browse files Browse the repository at this point in the history
fixes siderolabs/pkgs#895

Signed-off-by: Victor Seva <linuxmaniac@torreviejawireless.org>
  • Loading branch information
linuxmaniac committed Feb 15, 2024
1 parent c677b87 commit 20839ba
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
10 changes: 10 additions & 0 deletions firmware/realtek/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: v1alpha1
metadata:
name: realtek
version: "$VERSION"
author: Sidero Labs
description: |
This system extension provides realtek firmware binaries.
compatibility:
talos:
version: ">= v1.0.0"
23 changes: 23 additions & 0 deletions firmware/realtek/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: bnx2-bnx2x
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- stage: base
- image: "{{ .BUILD_ARG_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/RTL8192E /rootfs/lib/firmware
cp -R -p /lib/firmware/rtl_bt /rootfs/lib/firmware
cp -R -p /lib/firmware/rtl_nic /rootfs/lib/firmware
cp -R -p /lib/firmware/rtlwifi /rootfs/lib/firmware
cp -R -p /lib/firmware/rtw88 /rootfs/lib/firmware
finalize:
- from: /rootfs
to: /rootfs
- from: /pkg/manifest.yaml
to: /
1 change: 1 addition & 0 deletions firmware/realtek/vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}"

0 comments on commit 20839ba

Please sign in to comment.