Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap, sys-firmware: Add various linux-firmware packages #259

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions bootstrap.d/sys-firmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
sources:
- name: 'linux-firmware'
subdir: 'ports'
url: 'https://cdn.kernel.org/pub/linux/kernel/firmware/linux-firmware-20230804.tar.xz'
checksum: 'blake2b:48eca78ab97ef5ac335dd2bfd043cf3e67c52c68cb8b3eb152725e04838a7662dafa9745add6fc786bf87d275809b51a07496fbdaf4607a89e2787388fe1d1cd'
extract_path: 'linux-firmware-20230804'
format: 'tar.xz'
version: '20230804'

packages:
- name: amd-ucode
architecture: '@OPTION:arch@'
metadata:
summary: AMD CPU microcode files
description: This package provides microcode update files for AMD CPUs.
spdx: 'linux-fw-redistributable'
website: 'https://kernel.org'
maintainer: "Alexander Richards <[email protected]>"
categories: ['sys-kernel']
from_source: linux-firmware
build:
- args: ['mkdir', '-p', '@THIS_COLLECT_DIR@/usr/lib/firmware/']
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/amd-ucode', '@THIS_COLLECT_DIR@/usr/lib/firmware']
- args: ['cp', '@THIS_SOURCE_DIR@/LICENSE.amd-ucode', '@THIS_COLLECT_DIR@/usr/lib/firmware']

- name: linux-firmware-amdgpu
architecture: '@OPTION:arch@'
metadata:
summary: AMDGPU firmware files
description: This package provides firmware files for GPUs supported by the linux amdgpu driver.
spdx: 'linux-fw-redistributable'
website: 'https://kernel.org'
maintainer: "Alexander Richards <[email protected]>"
categories: ['sys-kernel']
from_source: linux-firmware
build:
- args: ['mkdir', '-p', '@THIS_COLLECT_DIR@/usr/lib/firmware/']
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/amdgpu', '@THIS_COLLECT_DIR@/usr/lib/firmware']
- args: ['cp', '@THIS_SOURCE_DIR@/LICENSE.amdgpu', '@THIS_COLLECT_DIR@/usr/lib/firmware']

- name: linux-firmware-i915
architecture: '@OPTION:arch@'
metadata:
summary: Intel GPU firmware files
description: This package provides firmware files for GPUs supported by the linux i915 driver.
spdx: 'linux-fw-redistributable'
website: 'https://kernel.org'
maintainer: "Alexander Richards <[email protected]>"
categories: ['sys-kernel']
from_source: linux-firmware
build:
- args: ['mkdir', '-p', '@THIS_COLLECT_DIR@/usr/lib/firmware/']
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/i915', '@THIS_COLLECT_DIR@/usr/lib/firmware']
- args: ['cp', '@THIS_SOURCE_DIR@/LICENSE.i915', '@THIS_COLLECT_DIR@/usr/lib/firmware']

- name: linux-firmware-radeon
architecture: '@OPTION:arch@'
metadata:
summary: Radeon GPU firmware files
description: This package provides firmware files for GPUs supported by the linux radeon driver.
spdx: 'linux-fw-redistributable'
website: 'https://kernel.org'
maintainer: "Alexander Richards <[email protected]>"
categories: ['sys-kernel']
from_source: linux-firmware
build:
- args: ['mkdir', '-p', '@THIS_COLLECT_DIR@/usr/lib/firmware/']
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/radeon', '@THIS_COLLECT_DIR@/usr/lib/firmware']
- args: ['cp', '@THIS_SOURCE_DIR@/LICENSE.radeon', '@THIS_COLLECT_DIR@/usr/lib/firmware']
1 change: 1 addition & 0 deletions bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ imports:
- file: bootstrap.d/sys-auth.yml
- file: bootstrap.d/sys-boot.yml
- file: bootstrap.d/sys-devel.yml
- file: bootstrap.d/sys-firmware.yml
- file: bootstrap.d/sys-kernel.yml
- file: bootstrap.d/sys-libs.yml
- file: bootstrap.d/sys-process.yml
Expand Down
Loading