[dts] [PATCH V1]fix yocto os can't init core list
xu,huilong
huilongx.xu at intel.com
Wed Dec 2 07:27:43 CET 2015
yocto not support --color=never parameter.
Signed-off-by: xu,huilong <huilongx.xu at intel.com>
---
framework/crb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/crb.py b/framework/crb.py
index 3c158ec..baaff2a 100644
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -462,7 +462,7 @@ class Crb(object):
cpuinfo = \
self.send_expect(
- "grep --color=never \"processor\\|physical id\\|core id\\|^$\" /proc/cpuinfo",
+ r'grep "processor\|physical id\|core id\|^$" /proc/cpuinfo',
"#", alt_session=True)
cpuinfo = cpuinfo.split('\r\n\r\n')
# haswell cpu on cottonwood core id not correct
--
1.9.3
More information about the dts
mailing list