mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
25
sys-apps/edac-utils/files/edac-utils-0.18-mitac-hawk.patch
Normal file
25
sys-apps/edac-utils/files/edac-utils-0.18-mitac-hawk.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user