diff options
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/intel-nuc-bios/Manifest | 1 | ||||
-rw-r--r-- | sys-firmware/intel-nuc-bios/intel-nuc-bios-20230607.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-firmware/intel-nuc-bios/Manifest b/sys-firmware/intel-nuc-bios/Manifest index feac96ab..3c307355 100644 --- a/sys-firmware/intel-nuc-bios/Manifest +++ b/sys-firmware/intel-nuc-bios/Manifest @@ -1,2 +1,3 @@ DIST AN0026.cap 38862848 BLAKE2B b7f036707ce37cc3bb7d4654b5ab4f497cfd4369511bf7e4e8091aa351438d85b760323d1bf143928e2c8058bd676585c154ed02ca3d98cdeff5e6125175d32b SHA512 c35cccf326c45f6203946d1cb22a9d947e6a24a3a32f4f844c0e4d358023fdbe8bb6ba32769889f20386b99127b8e0a948506d0857163be1dc00cf2170d88f3b +DIST AN0027.cap 38862848 BLAKE2B e02a97a02bcbccb1cf435e73ebd13047b91292366b111c92d5a8fd10570820401e68d2eed143df92fded4698f58b6b29b33eeaa08920013c767299c4e4212be1 SHA512 9e236f2495a3826eeb0d11b6603fb40060d5f13ee900d0809d3b78fa1d5e5b19e61717991a7f02e1b672aeb5ff728164d95995165333b4486088114c8282c50c DIST PA0051.cap 26279936 BLAKE2B d5077b268b3d07bf947dc4abb9134f4de22afac76d03b62c6151ad922eb426fda1e37adbd3bb08149103158c4d7fea63d930ee18b5697d20b41757d7a5ba28b2 SHA512 dfdc614ddcf30f3080dde31d8dbdca5fa60de253283750ea142c041febb15f10adfa3f1cefe93331ec8ac9346fd21202bc5881cb7b11598b39347ec122b05c12 diff --git a/sys-firmware/intel-nuc-bios/intel-nuc-bios-20230607.ebuild b/sys-firmware/intel-nuc-bios/intel-nuc-bios-20230607.ebuild new file mode 100644 index 00000000..b193b13d --- /dev/null +++ b/sys-firmware/intel-nuc-bios/intel-nuc-bios-20230607.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PV_AN="0027" +PV_PA="0051" + +DESCRIPTION="BIOS core for Intel NUC Kits" +HOMEPAGE="https://www.intel.com/content/www/us/en/download-center/home.html" +SRC_URI="https://downloadmirror.intel.com/782088/AN${PV_AN}.CAP -> AN${PV_AN}.cap + https://downloadmirror.intel.com/779451/PA${PV_PA}.CAP -> PA${PV_PA}.cap" + +LICENSE="iASL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="sys-firmware/iFlash" + +src_unpack () { + mkdir "${S}" + cp "${DISTDIR}/AN${PV_AN}.cap" "${S}/AN${PV_AN}.cap" || die + cp "${DISTDIR}/PA${PV_PA}.cap" "${S}/PA${PV_PA}.cap" || die +} + +src_install () { + insinto /lib/firmware/intel/nuc + doins "AN${PV_AN}.cap" + doins "PA${PV_PA}.cap" +} + +pkg_postinst () { + einfo "Run the following to install the BIOS" + einfo "iFlash /lib/firmware/intel/nuc/AN${PV_AN}.cap" + einfo "iFlash /lib/firmware/intel/nuc/PA${PV_PA}.cap" +} |