summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2023-02-12 13:29:31 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2023-02-12 13:29:31 +0000
commite16bc0fc529cc3829d00722eea1a1c482d18c2e3 (patch)
tree93c9597c0722c92ab14247b9618787da006db1d2
parentsys-firmware/iFlash: new package, add 5.13.00.2103 (diff)
downloadportage-e16bc0fc529cc3829d00722eea1a1c482d18c2e3.tar.xz
sys-firmware/intel-nuc-bios: new package, add 0050
-rw-r--r--sys-firmware/intel-nuc-bios/Manifest1
-rw-r--r--sys-firmware/intel-nuc-bios/intel-nuc-bios-0050.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/sys-firmware/intel-nuc-bios/Manifest b/sys-firmware/intel-nuc-bios/Manifest
new file mode 100644
index 00000000..1549b060
--- /dev/null
+++ b/sys-firmware/intel-nuc-bios/Manifest
@@ -0,0 +1 @@
+DIST PA0050.cap 26279936 BLAKE2B 94236dd1fd23022b0f042d2fa8ed103a649dc8ac7c84e58847a4cd7f0322f8a05f09ce9ad52d758710b8c29a9b0a9de7feed4b995143bbb3bb2d014e88d51fcc SHA512 cb87b51f62cd2e170274392445459a005142749e9639c9483a8bd219cabbd306680ee882a379c2c48a0110ff5c02743578f6a2947331c6a2ed6fd42d6dd45f0b
diff --git a/sys-firmware/intel-nuc-bios/intel-nuc-bios-0050.ebuild b/sys-firmware/intel-nuc-bios/intel-nuc-bios-0050.ebuild
new file mode 100644
index 00000000..1ac64439
--- /dev/null
+++ b/sys-firmware/intel-nuc-bios/intel-nuc-bios-0050.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/766623/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
+ doins "PA${PV}.cap"
+}
+
+pkg_postinst () {
+ einfo "Run the following to install the BIOS"
+ einfo "iFlash /lib/firmware/intel/PA${PV}.cap"
+}