summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/postactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/postactions.py b/meta/lib/oeqa/utils/postactions.py
index 03cecdc215..8104400ac2 100644
--- a/meta/lib/oeqa/utils/postactions.py
+++ b/meta/lib/oeqa/utils/postactions.py
@@ -38,7 +38,7 @@ def get_host_disk_usage(d, tc):
38 output_file = os.path.join(get_json_result_dir(d), "artifacts", "host_disk_usage.txt") 38 output_file = os.path.join(get_json_result_dir(d), "artifacts", "host_disk_usage.txt")
39 try: 39 try:
40 with open(output_file, 'w') as f: 40 with open(output_file, 'w') as f:
41 output = subprocess.run(['/usr/bin/df', '-hl'], check=True, text=True, stdout=f) 41 output = subprocess.run(['df', '-hl'], check=True, text=True, stdout=f, env={})
42 except Exception as e: 42 except Exception as e:
43 bb.warn(f"Can not get host disk usage: {e}") 43 bb.warn(f"Can not get host disk usage: {e}")
44 44