Mageia Bugzilla – Attachment 6463 Details for
Bug 5810
No RAM is shown in harddrake
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
enables to test with a file containing dmidecode output
5810-test.diff (text/plain), 707 bytes, created by
Thierry Vignaud
on 2015-05-07 11:56:18 CEST
(
hide
)
Description:
enables to test with a file containing dmidecode output
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-05-07 11:56:18 CEST
Size:
707 bytes
patch
obsolete
>diff -up ./detect_devices.pm.tv4 ./detect_devices.pm >--- ./detect_devices.pm.tv4 2015-05-07 05:19:22.461032844 -0400 >+++ ./detect_devices.pm 2015-05-07 05:48:41.054942166 -0400 >@@ -1268,7 +1268,12 @@ sub dmidecode() { > return @dmis if $dmidecode_already_runned; > > return if $>; >- my ($ver, @l) = arch() =~ /86/ ? run_program::get_stdout('dmidecode') : (); >+ #my ($ver, @l) = arch() =~ /86/ ? run_program::get_stdout('dmidecode') : (); >+ #my $f = '2cpu_dmi.txt'; >+ #my $f = '4cpu_dmi.txt'; >+ my $f = 'dmidecode live cd test rc2.txt'; >+ #my $f = 'file_5810.txt'; >+ my ($ver, @l) = arch() =~ /86/ ? cat_("/tmp/dmi/$f") : (); > > my ($major, $minor) = $ver =~ /(\d+)\.(\d+)/; >
diff -up ./detect_devices.pm.tv4 ./detect_devices.pm --- ./detect_devices.pm.tv4 2015-05-07 05:19:22.461032844 -0400 +++ ./detect_devices.pm 2015-05-07 05:48:41.054942166 -0400 @@ -1268,7 +1268,12 @@ sub dmidecode() { return @dmis if $dmidecode_already_runned; return if $>; - my ($ver, @l) = arch() =~ /86/ ? run_program::get_stdout('dmidecode') : (); + #my ($ver, @l) = arch() =~ /86/ ? run_program::get_stdout('dmidecode') : (); + #my $f = '2cpu_dmi.txt'; + #my $f = '4cpu_dmi.txt'; + my $f = 'dmidecode live cd test rc2.txt'; + #my $f = 'file_5810.txt'; + my ($ver, @l) = arch() =~ /86/ ? cat_("/tmp/dmi/$f") : (); my ($major, $minor) = $ver =~ /(\d+)\.(\d+)/;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5810
:
2270
|
2271
|
2349
|
5820
|
6462
| 6463 |
6512