1 |
From: W-Mark Kubacki <wmark@×××××××××.de> |
2 |
|
3 |
It will read like this: |
4 |
> Portage 2.1.13.7 (default/linux/amd64/13.0, gcc-4.6.2, glibc-2.18, |
5 |
> 3.9.0-rc8-mark-signed+ x86_64, Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz) |
6 |
|
7 |
That new fifth element will be the CPU model name of the host |
8 |
running Portage. It is not the target architecture! |
9 |
|
10 |
The former output is not sufficient to tell if a machine |
11 |
has been downgraded (i.e. 3rd gen. Core i7 running a |
12 |
configuration for x86 "Pentium Celeron") or to distinguish |
13 |
between i.e. ARM CPUs ("arm5tel" could be a lot, including |
14 |
incompatible instruction sets). |
15 |
|
16 |
Signed-off-by: W-Mark Kubacki <wmark@×××××××××.de> |
17 |
--- |
18 |
pym/_emerge/actions.py | 4 +++- |
19 |
1 file changed, 3 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py |
22 |
index 52ceba4..e1873cd 100644 |
23 |
--- a/pym/_emerge/actions.py |
24 |
+++ b/pym/_emerge/actions.py |
25 |
@@ -3017,9 +3017,11 @@ def getportageversion(portdir, _unused, profile, chost, vardb): |
26 |
|
27 |
gccver = getgccversion(chost) |
28 |
unameout=platform.release()+" "+platform.machine() |
29 |
+ cpu_model_name=platform.processor() |
30 |
|
31 |
return "Portage %s (%s, %s, %s, %s)" % \ |
32 |
- (portage.VERSION, profilever, gccver, ",".join(libcver), unameout) |
33 |
+ (portage.VERSION, profilever, gccver, ",".join(libcver), unameout, |
34 |
+ cpu_model_name) |
35 |
|
36 |
def git_sync_timestamps(portdb, portdir): |
37 |
""" |
38 |
-- |
39 |
1.8.3.2 |