diff options
| -rw-r--r-- | meta/classes-recipe/fs-uuid.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/fs-uuid.bbclass b/meta/classes-recipe/fs-uuid.bbclass index a9e7eb8c67..e215f06c80 100644 --- a/meta/classes-recipe/fs-uuid.bbclass +++ b/meta/classes-recipe/fs-uuid.bbclass | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | def get_rootfs_uuid(d): | 10 | def get_rootfs_uuid(d): |
| 11 | import subprocess | 11 | import subprocess |
| 12 | rootfs = d.getVar('ROOTFS') | 12 | rootfs = d.getVar('ROOTFS') |
| 13 | output = subprocess.check_output(['tune2fs', '-l', rootfs]) | 13 | output = subprocess.check_output(['tune2fs', '-l', rootfs], text=True) |
| 14 | for line in output.split('\n'): | 14 | for line in output.split('\n'): |
| 15 | if line.startswith('Filesystem UUID:'): | 15 | if line.startswith('Filesystem UUID:'): |
| 16 | uuid = line.split()[-1] | 16 | uuid = line.split()[-1] |
