assembler/qemu: add filesystem label support

Add a (optional) property call `label` to the `filesystem` object to
support labeling the filesystem. Add the label for the ESP to both
UEFI examples.
This commit is contained in:
Christian Kellner 2019-12-12 16:05:31 +01:00 committed by Tom Gundersen
parent 5cae5283d7
commit c77313079b
3 changed files with 25 additions and 12 deletions

View file

@ -99,7 +99,7 @@
"pttype": "gpt",
"partitions": [
{"start": 2048, "size": 972800, "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
"filesystem": {"type": "vfat", "uuid": "46BB-8120",
"filesystem": {"type": "vfat", "uuid": "46BB-8120", "label": "EFI System Partition",
"mountpoint": "/boot/efi"}},
{"start": 976896,
"filesystem": {"type": "ext4", "uuid": "7acfe2cc-4134-482a-a9d4-4979a5a87569",

View file

@ -101,7 +101,7 @@
"pttype": "gpt",
"partitions": [
{"start": 2048, "size": 972800, "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
"filesystem": {"type": "vfat", "uuid": "46BB-8120",
"filesystem": {"type": "vfat", "uuid": "46BB-8120", "label": "EFI System Partition",
"mountpoint": "/boot/efi"}},
{"start": 976896,
"filesystem": {"type": "ext4", "uuid": "7acfe2cc-4134-482a-a9d4-4979a5a87569",