]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: add riscv32 to --efi-arch
authorLuca Boccassi <luca.boccassi@gmail.com>
Sat, 25 Jan 2025 01:25:28 +0000 (01:25 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 27 Jan 2025 18:04:50 +0000 (19:04 +0100)
It is supported in the arch mapping at the top and in elf2efi, so add it here too

(cherry picked from commit d1429288ae4cf611ac3df6f604ddb4d6af480cf8)

src/ukify/ukify.py

index bfd00096db03f6acda9c9b466bdfb3b0f403504b..4919076098a20e9b05a6a054535a2c587876d845 100755 (executable)
@@ -1772,7 +1772,7 @@ CONFIG_ITEMS = [
     ConfigItem(
         '--efi-arch',
         metavar='ARCH',
-        choices=('ia32', 'x64', 'arm', 'aa64', 'riscv64', 'loongarch32', 'loongarch64'),
+        choices=('ia32', 'x64', 'arm', 'aa64', 'riscv32', 'riscv64', 'loongarch32', 'loongarch64'),
         help='target EFI architecture',
         config_key='UKI/EFIArch',
     ),