stages/grub2.legacy: use x86 instead of x64

The usage `x64` is to specific since we could indeed boot 32 bit
`x86`, so just use that.
This commit is contained in:
Christian Kellner 2022-05-28 13:22:53 +00:00 committed by Tom Gundersen
parent b96ee08ce1
commit 8137597ac4

View file

@ -97,7 +97,7 @@ SCHEMA = """
}],
"properties": {
"architecture": {
"enum": ["x64", "aarch64", "ppc64le"]
"enum": ["x86", "aarch64", "ppc64le"]
},
"rootfs": { "$ref": "#/definitions/filesystem" },
"bootfs": { "$ref": "#/definitions/filesystem" },
@ -285,7 +285,7 @@ def copy_efi_data(tree, vendor):
def architecture_to_platform(architecture):
platform_map = {
"x64": "i386-pc",
"x86": "i386-pc",
"ppc64le": "powerpc-ieee1275"
}