diff options
author | Matt Turner <mattst88@gentoo.org> | 2017-05-28 20:28:30 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2017-05-28 20:28:30 -0700 |
commit | f69369ea6bade89ed36a097cab675d0c49a343fc (patch) | |
tree | c8a97998c135b5ecc00c5f4ea4cf43bb7b345d90 /sys-firmware | |
parent | sys-firmware/radeon-ucode: Remove package (diff) | |
download | gentoo-f69369ea6bade89ed36a097cab675d0c49a343fc.tar.gz gentoo-f69369ea6bade89ed36a097cab675d0c49a343fc.tar.bz2 gentoo-f69369ea6bade89ed36a097cab675d0c49a343fc.zip |
sys-firmware/amdgpu-ucode: Remove package
Bug: https://bugs.gentoo.org/614218
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/amdgpu-ucode/Manifest | 1 | ||||
-rw-r--r-- | sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild | 61 | ||||
-rw-r--r-- | sys-firmware/amdgpu-ucode/metadata.xml | 11 |
3 files changed, 0 insertions, 73 deletions
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest deleted file mode 100644 index be99738d05fe..000000000000 --- a/sys-firmware/amdgpu-ucode/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST linux-firmware-20170113.tar.xz 40606424 SHA256 dbc63d53ff12bff9ca0bc35ce91436356c2878dce41dc64d0f2b0c25b39e447b SHA512 28b9f4452f7b29d0a641585d792a19fe6eabe3aa9d383934f995c62a6f62db0cb877db16aaac4b2e2b7966f98e0f7b5737e206d0d8cd8a61aa64b2fb5a554749 WHIRLPOOL f63477f35d66c685039a6c85449eaf4416ee0fd32a3a8f5b69a0aa77c1f67759f7a8da05bb49d7cf82a9ac5a52ab44fe75ae6767347c73bb3538e70c3fb79e80 diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild deleted file mode 100644 index 447976d4f771..000000000000 --- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20161121.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit linux-info - -AMDGPU_UCODE_LINUX_FIRMWARE="linux-firmware-20170113" - -DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs" -HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/" -SRC_URI="mirror://gentoo/${AMDGPU_UCODE_LINUX_FIRMWARE}.tar.xz" - -LICENSE="radeon-ucode" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="legacy" - -RDEPEND="legacy? ( !sys-firmware/radeon-ucode ) - !>sys-kernel/linux-firmware-20150812[-savedconfig]" - -S=${WORKDIR}/${AMDGPU_UCODE_LINUX_FIRMWARE}/amdgpu - -AMDGPU_LEGACY_CIK="bonaire hainan hawaii kabini kaveri mullins oland pitcairn tahiti verde" - -src_unpack() { - unpack ${A} - mv linux-firmware-* "${AMDGPU_UCODE_LINUX_FIRMWARE}" || die -} - -src_install() { - local chip files legacyfiles - if use legacy; then - pushd ../radeon || die - for chip in ${AMDGPU_LEGACY_CIK}; do - legacyfiles+=( ${chip}*.bin ) - done - insinto /lib/firmware/radeon - doins ${legacyfiles[@]} - popd - fi - files=( *.bin ) - insinto /lib/firmware/amdgpu - doins ${files[@]} - FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} ) -} - -pkg_postinst() { - if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then - if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \ - ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then - ewarn "Your kernel has amdgpu DRM built-in but not the microcode." - ewarn "For kernel modesetting to work, please set in kernel config" - ewarn "CONFIG_FIRMWARE_IN_KERNEL=y" - ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\"" - ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]}\"" - ewarn "You may skip microcode files for which no hardware is installed." - ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware" - fi - fi -} diff --git a/sys-firmware/amdgpu-ucode/metadata.xml b/sys-firmware/amdgpu-ucode/metadata.xml deleted file mode 100644 index c99005d73f27..000000000000 --- a/sys-firmware/amdgpu-ucode/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>x11@gentoo.org</email> - <name>X11</name> - </maintainer> - <use> - <flag name="legacy">Install firmware for older chipsets which are optionally supported by AMDGPU</flag> - </use> -</pkgmetadata> |