summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa')
-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):
output_file = os.path.join(get_json_result_dir(d), "artifacts", "host_disk_usage.txt")
try:
with open(output_file, 'w') as f:
- output = subprocess.run(['/usr/bin/df', '-hl'], check=True, text=True, stdout=f)
+ output = subprocess.run(['df', '-hl'], check=True, text=True, stdout=f, env={})
except Exception as e:
bb.warn(f"Can not get host disk usage: {e}")