diff options
Diffstat (limited to 'meta/classes')
| -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 9b53dfba7a..731ea575bd 100644 --- a/meta/classes/fs-uuid.bbclass +++ b/meta/classes/fs-uuid.bbclass | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | def get_rootfs_uuid(d): | 4 | def get_rootfs_uuid(d): |
| 5 | import subprocess | 5 | import subprocess |
| 6 | rootfs = d.getVar('ROOTFS') | 6 | rootfs = d.getVar('ROOTFS') |
| 7 | output = subprocess.check_output(['tune2fs', '-l', rootfs]) | 7 | output = subprocess.check_output(['tune2fs', '-l', rootfs], text=True) |
| 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:'): |
| 10 | uuid = line.split()[-1] | 10 | uuid = line.split()[-1] |
