diff options
Diffstat (limited to 'meta/classes/fs-uuid.bbclass')
-rw-r--r-- | meta/classes/fs-uuid.bbclass | 2 |
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 @@ | |||
3 | # on ext file systems and depends on tune2fs. | 3 | # on ext file systems and depends on tune2fs. |
4 | def get_rootfs_uuid(d): | 4 | def get_rootfs_uuid(d): |
5 | import subprocess | 5 | import subprocess |
6 | rootfs = d.getVar('ROOTFS', True) | 6 | rootfs = d.getVar('ROOTFS') |
7 | output = subprocess.check_output(['tune2fs', '-l', rootfs]) | 7 | output = subprocess.check_output(['tune2fs', '-l', rootfs]) |
8 | for line in output.split('\n'): | 8 | for line in output.split('\n'): |
9 | if line.startswith('Filesystem UUID:'): | 9 | if line.startswith('Filesystem UUID:'): |