Skip to content

Commit

Permalink
firmware: amdgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed Aug 22, 2023
1 parent 53afe14 commit 1c8cb07
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions firmware/amdgpu/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: v1alpha1
metadata:
name: amdgpu
version: "$VERSION"
author: Sidero Labs
description: |
This system extension provides AMDGPU binaries.
compatibility:
talos:
version: ">= v1.4.8"
19 changes: 19 additions & 0 deletions firmware/amdgpu/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: amdgpu
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/amdgpu /rootfs/lib/firmware
finalize:
- from: /rootfs
to: /rootfs
- from: /pkg/manifest.yaml
to: /
1 change: 1 addition & 0 deletions firmware/amdgpu/vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}"

0 comments on commit 1c8cb07

Please sign in to comment.