@@ -185,13 +185,15 @@ class EfibootguardBootPlugin(SourcePlugin):
"amd64": "x64",
"arm64": "aa64",
"armhf": "arm",
- "i386": "ia32"
+ "i386": "ia32",
+ "riscv64" : "riscv64"
}
distro_to_lib_arch = {
"amd64": "x86_64-linux-gnu",
"arm64": "aarch64-linux-gnu",
"armhf": "arm-linux-gnueabihf",
- "i386": "i386-linux-gnu"
+ "i386": "i386-linux-gnu",
+ "riscv64": "riscv64-linux-gnu",
}
rootfs_path = rootfs_dir.get('ROOTFS_DIR')
distro_arch = get_bitbake_var("DISTRO_ARCH")
@@ -56,14 +56,16 @@ class EfibootguardEFIPlugin(SourcePlugin):
"amd64": "x64",
"arm64": "aa64",
"armhf": "arm",
- "i386": "ia32"
+ "i386": "ia32",
+ "riscv64" : "riscv64"
}
distro_to_lib_arch = {
"amd64": "x86_64-linux-gnu",
"arm64": "aarch64-linux-gnu",
"armhf": "arm-linux-gnueabihf",
- "i386": "i386-linux-gnu"
+ "i386": "i386-linux-gnu",
+ "riscv64": "riscv64-linux-gnu",
}
distro_arch = get_bitbake_var("DISTRO_ARCH")
This patch adds the mapping between the efi architecture and the distro architecture for riscv64. Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> --- scripts/lib/wic/plugins/source/efibootguard-boot.py | 6 ++++-- scripts/lib/wic/plugins/source/efibootguard-efi.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-)