[dts] [PATCH V1] framework/alais gsed to sed for freebsd

changqingxwu changqingx.wu at intel.com
Mon Aug 5 09:19:18 CEST 2019


sed command on linux not work for freebsd,
need use gsed replace sed to achieve the same function on freebsd

Signed-off-by: changqingxwu <changqingx.wu at intel.com>
---
 framework/dut.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/dut.py b/framework/dut.py
index fc346e8..20891ab 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -196,6 +196,7 @@ class Dut(Crb):
 
         if self.get_os_type() == 'freebsd':
             self.send_expect('alias make=gmake', '# ')
+            self.send_expect('alias sed=gsed', '# ')
 
         self.init_core_list()
         self.pci_devices_information()
-- 
2.17.2



More information about the dts mailing list