linux-firmware: new -amd subpkg with CPU/GPU ucode.
This commit is contained in:
parent
458953bbcf
commit
1128b2a720
2 changed files with 15 additions and 2 deletions
1
srcpkgs/linux-firmware-amd
Symbolic link
1
srcpkgs/linux-firmware-amd
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
linux-firmware
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'linux-firmware'
|
# Template file for 'linux-firmware'
|
||||||
pkgname=linux-firmware
|
pkgname=linux-firmware
|
||||||
version=20140531
|
version=20140531
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc="Binary firmware blobs for the Linux kernel"
|
short_desc="Binary firmware blobs for the Linux kernel"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -11,7 +11,7 @@ replaces="kernel-firmware>=0 radeon-firmware>=0 iwl1000-firmware>=0
|
||||||
iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0
|
iwl3945-firmware>=0 iwl4965-firmware>=0 iwl5000-firmware>=0
|
||||||
iwl5150-firmware>=0 iwl6000-firmware>=0 rt73usb-firmware>=0
|
iwl5150-firmware>=0 iwl6000-firmware>=0 rt73usb-firmware>=0
|
||||||
rt2800usb>=0 rt61-firmware>=0 ar9170-firmware>=0 amd-ucode>=0"
|
rt2800usb>=0 rt61-firmware>=0 ar9170-firmware>=0 amd-ucode>=0"
|
||||||
depends="${pkgname}-network-${version}_${revision}"
|
depends="${pkgname}-amd-${version}_${revision} ${pkgname}-network-${version}_${revision}"
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
url="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
|
url="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
|
||||||
|
@ -27,6 +27,18 @@ do_install() {
|
||||||
${DESTDIR}/usr/share/licenses/${pkgname}
|
${DESTDIR}/usr/share/licenses/${pkgname}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
linux-firmware-amd_package() {
|
||||||
|
replaces="${sourcepkg}<20140531_2"
|
||||||
|
short_desc+=" - AMD CPU/GPU microcode"
|
||||||
|
noarch=yes
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/firmware/amd-ucode
|
||||||
|
vmove usr/lib/firmware/radeon
|
||||||
|
vmove usr/share/licenses/linux-firmware/LICENSE.amd-ucode
|
||||||
|
vmove usr/share/licenses/linux-firmware/LICENSE.radeon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
linux-firmware-network_package() {
|
linux-firmware-network_package() {
|
||||||
short_desc+=" - network"
|
short_desc+=" - network"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
Loading…
Reference in a new issue