mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/linux-firmware: drop old
Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
@@ -1,7 +1,2 @@
|
||||
DIST linux-firmware-20180103.tar.gz 138263360 BLAKE2B b7af0f94bf7111a1f4a10c7403f43dbfe837912ccf3afd4bcc362e483bcf15e02df76a37b112b2545c67bfbb2df031890dead100552e402ffc4727041409d891 SHA512 ed95205c075b47a2f30d9c96181ca0047de017abb1b5904f7c504a0afb8ea673c179980eb92d5690dd1a5cfb29815f224f384b4dcc472f80ddc90af3b2cbd4ce
|
||||
DIST linux-firmware-20180606.tar.gz 152670671 BLAKE2B 7c4fb07451c1c459bd0bf8bec15e3bff41bdb64166decfd7776650c85f0b373c97dfa23330ebb7ddd4bc144bffb57751f3a94bb4a352e5f8ef1dd0b8a3679c81 SHA512 4eb02e11beffde5bf8daff45af78304881e01eb51004ff0758bfff3a4a4cb59f6a2e081b7a3c3e07734a29954f09fa6277f920c2bdab6aeb608065936861c650
|
||||
DIST linux-firmware-20180717.tar.gz 155038756 BLAKE2B be94a60c95b23ad14008ed2c1d6eb1e126ef4b959bb9375b9d6c7374d16de0b503c434c00975cb9be74cc8d191db826ec58312a1405c558eb476807dfcf247cd SHA512 e885b31d01c7aa7864742dc3f2b67888aa93166390d5572ae56d191656991876e4aea1e412e452f4caa6ee031d0ab10c26f615f639cfde6f15bdea47a9819816
|
||||
DIST linux-firmware-20180730.tar.gz 156004891 BLAKE2B 38472066f4af965f5d3186d719b324e65874d4c25cec335fa522555e29d9a67d7cd22594977cb8800f10915da122cfe9906e0e64675c3733b9659c2338eaee69 SHA512 dc1a5b118b7f4f7760115ba45ab6c836661f5b1d68f4daad294c88f9f7448a0e42ee0de5be27cca418acf57c2d214ca166b6e7ab6711f8a68b6c8c3e68c2812e
|
||||
DIST linux-firmware-20180825.tar.gz 156618714 BLAKE2B 1bf44c456a87dce2e0622c8ef80bacae9d1aa76efacbb1519718be4a2c3e36a72b8baced8dc17953515052be923b85a8368179dfad591fbc7402521bce564e20 SHA512 583623fedf18a987a20cb6f5337146131a7b17a95ee79cb4b35199b6ecf42af039b824623235501685db18839c0d7e9e81cd79ed47fb993b4e72346bf9159021
|
||||
DIST linux-firmware-20180913.tar.gz 157719795 BLAKE2B 6eb2b9f4c753cf2b9fbef7e720d4fedcc452ca694c330a4884e5713050fbe2461e5ad135b6b514c8e84b3c2d8ae587b4b4017d390dcf7180d63c58e67c135d0c SHA512 1db808849d1858e1c7c444315adbe3e112c12ec739bc98f5b56e07b756563dec79fd84f709200d0c2c5e0b76134caac006ea747d224b67bfdf949dfcff6ce83c
|
||||
DIST microcode_amd_fam17h.tar.gz 2204 BLAKE2B 20f3b006587f49fced335fd38711da2384a1f5cd0b93a483d7022d8aa211dc855427a637583dd2eae9f108120f2fda4b80db081d48d3332da906de8e10b94464 SHA512 d3b52797a5968f8da76d39322780e61d04bab5d810b0b07d64e469fcd67998e4191b0e0a9ab7e4c27189941369ef1b2850bbbb1458fd9bbeb958c98f6e378510
|
||||
|
||||
@@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit savedconfig
|
||||
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
||||
else
|
||||
GIT_COMMIT="2eefafb2e9dcbafdf4b83d8c43fcd6b75fd4ac78"
|
||||
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
mirror://gentoo/microcode_amd_fam17h.tar.gz
|
||||
https://dev.gentoo.org/~whissi/dist/${PN}/microcode_amd_fam17h.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Linux firmware files"
|
||||
HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
|
||||
|
||||
LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
|
||||
SLOT="0"
|
||||
IUSE="savedconfig"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!savedconfig? (
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ca0132]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_korg1212]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_maestro3]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_sb16]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ymfpci]
|
||||
!media-tv/cx18-firmware
|
||||
!<sys-firmware/ivtv-firmware-20080701-r1
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
|
||||
!net-dialup/ueagle-atm
|
||||
!net-dialup/ueagle4-atm
|
||||
!net-wireless/ar9271-firmware
|
||||
!net-wireless/i2400m-fw
|
||||
!net-wireless/libertas-firmware
|
||||
!sys-firmware/rt61-firmware
|
||||
!net-wireless/rt73-firmware
|
||||
!net-wireless/rt2860-firmware
|
||||
!net-wireless/rt2870-firmware
|
||||
!sys-block/qla-fc-firmware
|
||||
!sys-firmware/amd-ucode
|
||||
!sys-firmware/iwl1000-ucode
|
||||
!sys-firmware/iwl2000-ucode
|
||||
!sys-firmware/iwl2030-ucode
|
||||
!sys-firmware/iwl3945-ucode
|
||||
!sys-firmware/iwl4965-ucode
|
||||
!sys-firmware/iwl5000-ucode
|
||||
!sys-firmware/iwl5150-ucode
|
||||
!sys-firmware/iwl6000-ucode
|
||||
!sys-firmware/iwl6005-ucode
|
||||
!sys-firmware/iwl6030-ucode
|
||||
!sys-firmware/iwl6050-ucode
|
||||
!sys-firmware/iwl3160-ucode
|
||||
!sys-firmware/iwl7260-ucode
|
||||
!sys-firmware/iwl7265-ucode
|
||||
!sys-firmware/iwl3160-7260-bt-ucode
|
||||
!sys-firmware/radeon-ucode
|
||||
)"
|
||||
#add anything else that collides to this
|
||||
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
# rename directory from git snapshot tarball
|
||||
mv ${PN}-*/ ${P} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv "${WORKDIR}"/microcode_amd_fam17h.bin "${S}"/amd-ucode || die
|
||||
|
||||
echo "# Remove files that shall not be installed from this list." > ${PN}.conf
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
|
||||
|
||||
if use savedconfig; then
|
||||
restore_config ${PN}.conf
|
||||
ebegin "Removing all files not listed in config"
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) \
|
||||
| sort ${PN}.conf ${PN}.conf - \
|
||||
| uniq -u | xargs -r rm
|
||||
eend $? || die
|
||||
# remove empty directories, bug #396073
|
||||
find -type d -empty -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use !savedconfig; then
|
||||
save_config ${PN}.conf
|
||||
fi
|
||||
rm ${PN}.conf || die
|
||||
insinto /lib/firmware/
|
||||
doins -r *
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use savedconfig; then
|
||||
ewarn "USE=savedconfig is active. You must handle file collisions manually."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are only interested in particular firmware files, edit the saved"
|
||||
elog "configfile and remove those that you do not want."
|
||||
}
|
||||
@@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit savedconfig
|
||||
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
else
|
||||
GIT_COMMIT="d1147327232ec4616a66ab898df84f9700c816c1"
|
||||
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Linux firmware files"
|
||||
HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
|
||||
|
||||
LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
|
||||
SLOT="0"
|
||||
IUSE="savedconfig"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!savedconfig? (
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ca0132]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_korg1212]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_maestro3]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_sb16]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ymfpci]
|
||||
!media-tv/cx18-firmware
|
||||
!<sys-firmware/ivtv-firmware-20080701-r1
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
|
||||
!net-dialup/ueagle-atm
|
||||
!net-dialup/ueagle4-atm
|
||||
!net-wireless/ar9271-firmware
|
||||
!net-wireless/i2400m-fw
|
||||
!net-wireless/libertas-firmware
|
||||
!sys-firmware/rt61-firmware
|
||||
!net-wireless/rt73-firmware
|
||||
!net-wireless/rt2860-firmware
|
||||
!net-wireless/rt2870-firmware
|
||||
!sys-block/qla-fc-firmware
|
||||
!sys-firmware/amd-ucode
|
||||
!sys-firmware/iwl1000-ucode
|
||||
!sys-firmware/iwl2000-ucode
|
||||
!sys-firmware/iwl2030-ucode
|
||||
!sys-firmware/iwl3945-ucode
|
||||
!sys-firmware/iwl4965-ucode
|
||||
!sys-firmware/iwl5000-ucode
|
||||
!sys-firmware/iwl5150-ucode
|
||||
!sys-firmware/iwl6000-ucode
|
||||
!sys-firmware/iwl6005-ucode
|
||||
!sys-firmware/iwl6030-ucode
|
||||
!sys-firmware/iwl6050-ucode
|
||||
!sys-firmware/iwl3160-ucode
|
||||
!sys-firmware/iwl7260-ucode
|
||||
!sys-firmware/iwl7265-ucode
|
||||
!sys-firmware/iwl3160-7260-bt-ucode
|
||||
!sys-firmware/radeon-ucode
|
||||
)"
|
||||
#add anything else that collides to this
|
||||
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
# rename directory from git snapshot tarball
|
||||
mv ${PN}-*/ ${P} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
echo "# Remove files that shall not be installed from this list." > ${PN}.conf
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
|
||||
|
||||
if use savedconfig; then
|
||||
restore_config ${PN}.conf
|
||||
ebegin "Removing all files not listed in config"
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) \
|
||||
| sort ${PN}.conf ${PN}.conf - \
|
||||
| uniq -u | xargs -r rm
|
||||
eend $? || die
|
||||
# remove empty directories, bug #396073
|
||||
find -type d -empty -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use !savedconfig; then
|
||||
save_config ${PN}.conf
|
||||
fi
|
||||
rm ${PN}.conf || die
|
||||
insinto /lib/firmware/
|
||||
doins -r *
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use savedconfig; then
|
||||
ewarn "USE=savedconfig is active. You must handle file collisions manually."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are only interested in particular firmware files, edit the saved"
|
||||
elog "configfile and remove those that you do not want."
|
||||
}
|
||||
@@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit savedconfig
|
||||
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
else
|
||||
GIT_COMMIT="8d69bab7a3da1913113ea98cefb73d5fa6988286"
|
||||
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Linux firmware files"
|
||||
HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
|
||||
|
||||
LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
|
||||
SLOT="0"
|
||||
IUSE="savedconfig"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!savedconfig? (
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ca0132]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_korg1212]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_maestro3]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_sb16]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ymfpci]
|
||||
!media-tv/cx18-firmware
|
||||
!<sys-firmware/ivtv-firmware-20080701-r1
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
|
||||
!net-dialup/ueagle-atm
|
||||
!net-dialup/ueagle4-atm
|
||||
!net-wireless/ar9271-firmware
|
||||
!net-wireless/i2400m-fw
|
||||
!net-wireless/libertas-firmware
|
||||
!sys-firmware/rt61-firmware
|
||||
!net-wireless/rt73-firmware
|
||||
!net-wireless/rt2860-firmware
|
||||
!net-wireless/rt2870-firmware
|
||||
!sys-block/qla-fc-firmware
|
||||
!sys-firmware/amd-ucode
|
||||
!sys-firmware/iwl1000-ucode
|
||||
!sys-firmware/iwl2000-ucode
|
||||
!sys-firmware/iwl2030-ucode
|
||||
!sys-firmware/iwl3945-ucode
|
||||
!sys-firmware/iwl4965-ucode
|
||||
!sys-firmware/iwl5000-ucode
|
||||
!sys-firmware/iwl5150-ucode
|
||||
!sys-firmware/iwl6000-ucode
|
||||
!sys-firmware/iwl6005-ucode
|
||||
!sys-firmware/iwl6030-ucode
|
||||
!sys-firmware/iwl6050-ucode
|
||||
!sys-firmware/iwl3160-ucode
|
||||
!sys-firmware/iwl7260-ucode
|
||||
!sys-firmware/iwl7265-ucode
|
||||
!sys-firmware/iwl3160-7260-bt-ucode
|
||||
!sys-firmware/radeon-ucode
|
||||
)"
|
||||
#add anything else that collides to this
|
||||
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
# rename directory from git snapshot tarball
|
||||
mv ${PN}-*/ ${P} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
echo "# Remove files that shall not be installed from this list." > ${PN}.conf
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
|
||||
|
||||
if use savedconfig; then
|
||||
restore_config ${PN}.conf
|
||||
ebegin "Removing all files not listed in config"
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) \
|
||||
| sort ${PN}.conf ${PN}.conf - \
|
||||
| uniq -u | xargs -r rm
|
||||
eend $? || die
|
||||
# remove empty directories, bug #396073
|
||||
find -type d -empty -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use !savedconfig; then
|
||||
save_config ${PN}.conf
|
||||
fi
|
||||
rm ${PN}.conf || die
|
||||
insinto /lib/firmware/
|
||||
doins -r *
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use savedconfig; then
|
||||
ewarn "USE=savedconfig is active. You must handle file collisions manually."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are only interested in particular firmware files, edit the saved"
|
||||
elog "configfile and remove those that you do not want."
|
||||
}
|
||||
@@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
inherit savedconfig
|
||||
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
|
||||
else
|
||||
GIT_COMMIT="7b5835fd37630d18ac0c755329172f6a17c1af29"
|
||||
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Linux firmware files"
|
||||
HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
|
||||
|
||||
LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
|
||||
SLOT="0"
|
||||
IUSE="savedconfig"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!savedconfig? (
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ca0132]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_korg1212]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_maestro3]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_sb16]
|
||||
!sys-firmware/alsa-firmware[alsa_cards_ymfpci]
|
||||
!media-tv/cx18-firmware
|
||||
!<sys-firmware/ivtv-firmware-20080701-r1
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
|
||||
!media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
|
||||
!net-dialup/ueagle-atm
|
||||
!net-dialup/ueagle4-atm
|
||||
!net-wireless/ar9271-firmware
|
||||
!net-wireless/i2400m-fw
|
||||
!net-wireless/libertas-firmware
|
||||
!sys-firmware/rt61-firmware
|
||||
!net-wireless/rt73-firmware
|
||||
!net-wireless/rt2860-firmware
|
||||
!net-wireless/rt2870-firmware
|
||||
!sys-block/qla-fc-firmware
|
||||
!sys-firmware/amd-ucode
|
||||
!sys-firmware/iwl1000-ucode
|
||||
!sys-firmware/iwl2000-ucode
|
||||
!sys-firmware/iwl2030-ucode
|
||||
!sys-firmware/iwl3945-ucode
|
||||
!sys-firmware/iwl4965-ucode
|
||||
!sys-firmware/iwl5000-ucode
|
||||
!sys-firmware/iwl5150-ucode
|
||||
!sys-firmware/iwl6000-ucode
|
||||
!sys-firmware/iwl6005-ucode
|
||||
!sys-firmware/iwl6030-ucode
|
||||
!sys-firmware/iwl6050-ucode
|
||||
!sys-firmware/iwl3160-ucode
|
||||
!sys-firmware/iwl7260-ucode
|
||||
!sys-firmware/iwl7265-ucode
|
||||
!sys-firmware/iwl3160-7260-bt-ucode
|
||||
!sys-firmware/radeon-ucode
|
||||
)"
|
||||
#add anything else that collides to this
|
||||
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 99999999* ]]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
# rename directory from git snapshot tarball
|
||||
mv ${PN}-*/ ${P} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
echo "# Remove files that shall not be installed from this list." > ${PN}.conf
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
|
||||
|
||||
if use savedconfig; then
|
||||
restore_config ${PN}.conf
|
||||
ebegin "Removing all files not listed in config"
|
||||
find * \( \! -type d -and \! -name ${PN}.conf \) \
|
||||
| sort ${PN}.conf ${PN}.conf - \
|
||||
| uniq -u | xargs -r rm
|
||||
eend $? || die
|
||||
# remove empty directories, bug #396073
|
||||
find -type d -empty -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use !savedconfig; then
|
||||
save_config ${PN}.conf
|
||||
fi
|
||||
rm ${PN}.conf || die
|
||||
insinto /lib/firmware/
|
||||
doins -r *
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use savedconfig; then
|
||||
ewarn "USE=savedconfig is active. You must handle file collisions manually."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are only interested in particular firmware files, edit the saved"
|
||||
elog "configfile and remove those that you do not want."
|
||||
}
|
||||
Reference in New Issue
Block a user