diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2020-11-23 14:31:07 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-11-23 22:15:36 +0100 |
commit | 499f0f8209f33da0b6e3b0d6f3a13996edcc7555 (patch) | |
tree | ea325060b52c7bfc2fd16590d4b3d39624915d0d /src/shared/gpt.c | |
parent | 5b639090d0b4a49d77ba58bebe180b2a6f8da322 (diff) | |
download | systemd-499f0f8209f33da0b6e3b0d6f3a13996edcc7555.tar.gz |
gpt: add RISC-V GPT partition typecode uuid
Diffstat (limited to 'src/shared/gpt.c')
-rw-r--r-- | src/shared/gpt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/gpt.c b/src/shared/gpt.c index ebcaa9d70f..15ea2f0a1f 100644 --- a/src/shared/gpt.c +++ b/src/shared/gpt.c @@ -14,6 +14,10 @@ const GptPartitionType gpt_partition_type_table[] = { { GPT_ROOT_ARM_64_VERITY, "root-arm64-verity" }, { GPT_ROOT_IA64, "root-ia64" }, { GPT_ROOT_IA64_VERITY, "root-ia64-verity" }, + { GPT_ROOT_RISCV32, "root-riscv32" }, + { GPT_ROOT_RISCV32_VERITY, "root-riscv32-verity" }, + { GPT_ROOT_RISCV64, "root-riscv64" }, + { GPT_ROOT_RISCV64_VERITY, "root-riscv64-verity" }, #ifdef GPT_ROOT_NATIVE { GPT_ROOT_NATIVE, "root" }, { GPT_ROOT_NATIVE_VERITY, "root-verity" }, @@ -32,6 +36,10 @@ const GptPartitionType gpt_partition_type_table[] = { { GPT_USR_ARM_64_VERITY, "usr-arm64-verity" }, { GPT_USR_IA64, "usr-ia64" }, { GPT_USR_IA64_VERITY, "usr-ia64-verity" }, + { GPT_USR_RISCV32, "usr-riscv32" }, + { GPT_USR_RISCV32_VERITY, "usr-riscv32-verity" }, + { GPT_USR_RISCV64, "usr-riscv64" }, + { GPT_USR_RISCV64_VERITY, "usr-riscv64-verity" }, #ifdef GPT_USR_NATIVE { GPT_USR_NATIVE, "usr" }, { GPT_USR_NATIVE_VERITY, "usr-verity" }, |