parent
353faef3ae
commit
31809c91f8
1 changed files with 5 additions and 3 deletions
|
@ -25,11 +25,12 @@ EOF
|
|||
rm -rf $out/$p
|
||||
}
|
||||
|
||||
# split into systemd sysext packages
|
||||
fwdir=$out/usr/lib/firmware
|
||||
|
||||
# split into packages
|
||||
_pick linux-firmware-amd-ucode "${fwdir}"/amd-ucode
|
||||
_package linux-firmware-amd-ucode
|
||||
# we don't care about amd-ucode (we use nixpkg amd-ucode instead)
|
||||
_pick amd-ucode "${fwdir}"/amd-ucode
|
||||
rm -rf $out/amd-ucode
|
||||
|
||||
_pick linux-firmware-amdgpu "${fwdir}"/amdgpu
|
||||
_package linux-firmware-amdgpu
|
||||
|
@ -76,6 +77,7 @@ _package linux-firmware-radeon
|
|||
_pick linux-firmware-realtek "${fwdir}"/{realtek,rtlwifi,rtw8*,rtl_*}
|
||||
_package linux-firmware-realtek
|
||||
|
||||
# The rest will be packaged as 'other'
|
||||
_pick linux-firmware-other "${fwdir}"
|
||||
_package linux-firmware-other
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue