summaryrefslogtreecommitdiff
path: root/sys-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/intel-nuc-bios/Manifest1
-rw-r--r--sys-firmware/intel-nuc-bios/intel-nuc-bios-0051.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/sys-firmware/intel-nuc-bios/Manifest b/sys-firmware/intel-nuc-bios/Manifest
index 1549b060..6e05f10f 100644
--- a/sys-firmware/intel-nuc-bios/Manifest
+++ b/sys-firmware/intel-nuc-bios/Manifest
@@ -1 +1,2 @@
DIST PA0050.cap 26279936 BLAKE2B 94236dd1fd23022b0f042d2fa8ed103a649dc8ac7c84e58847a4cd7f0322f8a05f09ce9ad52d758710b8c29a9b0a9de7feed4b995143bbb3bb2d014e88d51fcc SHA512 cb87b51f62cd2e170274392445459a005142749e9639c9483a8bd219cabbd306680ee882a379c2c48a0110ff5c02743578f6a2947331c6a2ed6fd42d6dd45f0b
+DIST PA0051.cap 26279936 BLAKE2B d5077b268b3d07bf947dc4abb9134f4de22afac76d03b62c6151ad922eb426fda1e37adbd3bb08149103158c4d7fea63d930ee18b5697d20b41757d7a5ba28b2 SHA512 dfdc614ddcf30f3080dde31d8dbdca5fa60de253283750ea142c041febb15f10adfa3f1cefe93331ec8ac9346fd21202bc5881cb7b11598b39347ec122b05c12
diff --git a/sys-firmware/intel-nuc-bios/intel-nuc-bios-0051.ebuild b/sys-firmware/intel-nuc-bios/intel-nuc-bios-0051.ebuild
new file mode 100644
index 00000000..28325b0c
--- /dev/null
+++ b/sys-firmware/intel-nuc-bios/intel-nuc-bios-0051.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="BIOS core for Intel NUC Kits"
+HOMEPAGE="https://www.intel.com/content/www/us/en/download/19694/bios-update-patgl357.html"
+SRC_URI="https://downloadmirror.intel.com/779451/PA0051.CAP -> PA${PV}.cap"
+
+LICENSE="iASL"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="sys-firmware/iFlash"
+
+src_unpack () {
+ mkdir "${S}"
+ cp "${DISTDIR}/PA${PV}.cap" "${S}/PA${PV}.cap" || die
+}
+
+src_install () {
+ insinto /lib/firmware/intel/nuc
+ doins "PA${PV}.cap"
+}
+
+pkg_postinst () {
+ einfo "Run the following to install the BIOS"
+ einfo "iFlash /lib/firmware/intel/nuc/PA${PV}.cap"
+}