stages/fstab: fix partabel option

Use the `partlabel` value for the `partlabel` option instead of
the `label` option.
This commit is contained in:
Christian Kellner 2021-08-06 13:54:38 +00:00 committed by Achilleas Koutsou
parent 97331fc014
commit ff63bb6b51

View file

@ -146,7 +146,7 @@ def main(tree, options):
elif label:
fs_spec = f"LABEL={label}"
elif partlabel:
fs_spec = f"PARTLABEL={label}"
fs_spec = f"PARTLABEL={partlabel}"
elif device:
fs_spec = device
else: