nonguix/nongnu
Timotej Lazar a031e2cde3
nongnu: Use provided install script in linux-firmware subpackages.
A simple copy is not enough, since some firmware files are just links. The
copy-firmware.sh script invoked by make install does the right thing, based on
File: and Link: entries in WHENCE.

Add a helper function select-firmware which modifies the WHENCE list to skip
the files not matching the given regex. Use it to specify the files to install
in linux-firmware subpackages, then just invoke make install as usual.

* nongnu/packages/linux.scm (amdgpu-firmware, atheros-firmware,
ibt-hw-firmware, iwlwifi-firmware, radeon-firmware, realtek-firmware,
amd-microcode)[arguments]: Drop custom 'install phase. Add 'select-firmware
phase to remove unneeded entries from the WHENCE file.
(select-firmware): New helper function.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-08-22 13:52:37 +02:00
..
packages nongnu: Use provided install script in linux-firmware subpackages. 2021-08-22 13:52:37 +02:00
services services: Remove load-broadcom-sta-service. 2021-05-04 23:33:56 +02:00
system nongnu: Adapt linux-initrd to populate-store changes. 2020-12-22 12:56:25 +01:00
ci.scm ci: New file. 2021-05-05 19:23:47 +02:00