diff options
author | Timotej Lazar <timotej.lazar@araneo.si> | 2021-08-21 00:15:51 +0200 |
---|---|---|
committer | Jonathan Brielmaier <jonathan.brielmaier@web.de> | 2021-08-22 13:52:37 +0200 |
commit | a031e2cde3be2cf82ef618e6f6fc805196516557 (patch) | |
tree | 8fc131dc5a01084f122218f954c389b47ea306a5 /nongnu/packages/mozilla.scm | |
parent | 9bb89eff12e108747ce12f9de629a60e02eb4cba (diff) |
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>
Diffstat (limited to 'nongnu/packages/mozilla.scm')
0 files changed, 0 insertions, 0 deletions