diff options
author | Fabian Groffen <grobian@gentoo.org> | 2022-01-30 16:42:36 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-01-30 16:42:48 +0100 |
commit | 3a823e5994bbb2db03d3dd0d85f48892d9e2c144 (patch) | |
tree | ee59160cffe95126d32e5aeb8842eca307e8ea6f /sys-apps | |
parent | dev-php/adodb: new upstream release to fix CVE-2021-3850. (diff) | |
download | gentoo-3a823e5994bbb2db03d3dd0d85f48892d9e2c144.tar.gz gentoo-3a823e5994bbb2db03d3dd0d85f48892d9e2c144.tar.bz2 gentoo-3a823e5994bbb2db03d3dd0d85f48892d9e2c144.zip |
sys-apps/edac-utils-0.18-r1: add label for Hawk
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/edac-utils/edac-utils-0.18-r1.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/edac-utils/files/edac-utils-0.18-mitac-hawk.patch | 25 |
2 files changed, 30 insertions, 1 deletions
diff --git a/sys-apps/edac-utils/edac-utils-0.18-r1.ebuild b/sys-apps/edac-utils/edac-utils-0.18-r1.ebuild index a8f2910a9cbd..b1b73a2138c8 100644 --- a/sys-apps/edac-utils/edac-utils-0.18-r1.ebuild +++ b/sys-apps/edac-utils/edac-utils-0.18-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,6 +18,10 @@ DEPEND="sys-fs/sysfsutils" RDEPEND="${DEPEND} sys-apps/dmidecode" +PATCHES=( + "${FILESDIR}"/${P}-mitac-hawk.patch +) + src_prepare() { default diff --git a/sys-apps/edac-utils/files/edac-utils-0.18-mitac-hawk.patch b/sys-apps/edac-utils/files/edac-utils-0.18-mitac-hawk.patch new file mode 100644 index 000000000000..4472bad2ae43 --- /dev/null +++ b/sys-apps/edac-utils/files/edac-utils-0.18-mitac-hawk.patch @@ -0,0 +1,25 @@ +From 1c57818ecee186aa47af0342149577df5302c022 Mon Sep 17 00:00:00 2001 +From: Fabian Groffen <grobian@gentoo.org> +Date: Sun, 30 Jan 2022 14:49:58 +0100 +Subject: [PATCH] etc/labels.db: add MiTAC HAWK layout + +This is for an Ampere eMag Hawk 32-core ARMv8 board, which features 8 +banks of DDR4 RDIMMs (1DPC). + +Signed-off-by: Fabian Groffen <grobian@gentoo.org> +--- + src/etc/labels.db | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/src/etc/labels.db b/src/etc/labels.db +index f915666..63baf43 100644 +--- a/src/etc/labels.db ++++ b/src/etc/labels.db +@@ -187,0 +187,7 @@ Vendor: Intel Corporation ++ ++Vendor: MiTAC ++ Model: HAWK ++ DIMM 1: 0.0.0; DIMM 8: 0.7.0; ++ DIMM 2: 0.1.0; DIMM 7: 0.6.0; ++ DIMM 3: 0.2.0; DIMM 6: 0.5.0; ++ DIMM 4: 0.3.0; DIMM 5: 0.4.0; |