[V1] framework/crb: fix _is_container error on FreeBSD

Message ID 20230110060336.72028-1-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] framework/crb: fix _is_container error on FreeBSD |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK

Commit Message

Lingli Chen Jan. 10, 2023, 6:03 a.m. UTC
  Fix issue adapts to FreeBSD system.
fix dts commit 0ef9bfbf (framework: add docker container support)

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 framework/crb.py | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Tu, Lijuan Jan. 10, 2023, 7:39 a.m. UTC | #1
On Tue, 10 Jan 2023 01:03:36 -0500, Lingli Chen <linglix.chen@intel.com> wrote:
> Fix issue adapts to FreeBSD system.
> fix dts commit 0ef9bfbf (framework: add docker container support)
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
  

Patch

diff --git a/framework/crb.py b/framework/crb.py
index 48526ac1..f15df730 100644
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -1059,5 +1059,7 @@  class Crb(object):
             "# ",
         ):
             return True
+        elif self.get_os_type() == "freebsd":
+            return False
         else:
             return False