summaryrefslogtreecommitdiff
path: root/meta/classes/fs-uuid.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/fs-uuid.bbclass')
-rw-r--r--meta/classes/fs-uuid.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/fs-uuid.bbclass b/meta/classes/fs-uuid.bbclass
index bd2613cf10..313c5a3597 100644
--- a/meta/classes/fs-uuid.bbclass
+++ b/meta/classes/fs-uuid.bbclass
@@ -3,7 +3,7 @@
# on ext file systems and depends on tune2fs.
def get_rootfs_uuid(d):
import subprocess
- rootfs = d.getVar('ROOTFS', True)
+ rootfs = d.getVar('ROOTFS')
output = subprocess.check_output(['tune2fs', '-l', rootfs])
for line in output.split('\n'):
if line.startswith('Filesystem UUID:'):