-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Realtek firmware blobs extension. fixes siderolabs/pkgs#895 Signed-off-by: Victor Seva <linuxmaniac@torreviejawireless.org> Signed-off-by: Noel Georgi <git@frezbo.dev> (cherry picked from commit 97e59f8)
- Loading branch information
1 parent
2bc347f
commit 9aafd4e
Showing
6 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1alpha1 | ||
metadata: | ||
name: realtek-firmware | ||
version: "$VERSION" | ||
author: Sidero Labs | ||
description: | | ||
This system extension provides realtek firmware binaries. | ||
compatibility: | ||
talos: | ||
version: ">= v1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: realtek-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/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: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}" |