summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 374dacf4d0..cab0921401 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -338,7 +338,7 @@ def check_path_length(filepath, pathname, limit):
338def get_filesystem_id(path): 338def get_filesystem_id(path):
339 import subprocess 339 import subprocess
340 try: 340 try:
341 return subprocess.check_output(["stat", "-f", "-c", "%t", path]).decode('utf-8') 341 return subprocess.check_output(["stat", "-f", "-c", "%t", path]).decode('utf-8').strip()
342 except subprocess.CalledProcessError: 342 except subprocess.CalledProcessError:
343 bb.warn("Can't get filesystem id of: %s" % path) 343 bb.warn("Can't get filesystem id of: %s" % path)
344 return None 344 return None