summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2021-11-23 17:34:05 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2021-11-24 12:00:41 +0100
commit6d4c80ddbb64c4073d4afd6fe08d31bfdf9069c0 (patch)
treeed8683469529877998a91a4db7d3af8c55a0d9ad /tools
parentb998ff21e141d1cbfe79fb32bf31cd26f5c00b27 (diff)
downloadsystemd-6d4c80ddbb64c4073d4afd6fe08d31bfdf9069c0.tar.gz
gpt: Rename PPC64LE TO PPC64_LE
For consistency with ARCHITECTURE_PPC64_LE
Diffstat (limited to 'tools')
-rw-r--r--tools/list-discoverable-partitions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/list-discoverable-partitions.py b/tools/list-discoverable-partitions.py
index 8d95902eba..0d653f8186 100644
--- a/tools/list-discoverable-partitions.py
+++ b/tools/list-discoverable-partitions.py
@@ -21,7 +21,7 @@ ARCHITECTURES = {
'MIPS64_LE': '64-bit MIPS LittleEndian (mips64el)',
'PPC': '32-bit PowerPC',
'PPC64': '64-bit PowerPC BigEndian',
- 'PPC64LE': '64-bit PowerPC LittleEndian',
+ 'PPC64_LE': '64-bit PowerPC LittleEndian',
'RISCV32': 'RISC-V 32-bit',
'RISCV64': 'RISC-V 64-bit',
'S390': 's390',
@@ -146,7 +146,7 @@ def extract(file):
if not m:
continue
- if m2 := re.match(r'^(ROOT|USR)_([A-Z0-9]+|X86_64|MIPS_LE|MIPS64_LE)(|_VERITY|_VERITY_SIG)\s+SD_ID128_MAKE\((.*)\)', m.group(1)):
+ if m2 := re.match(r'^(ROOT|USR)_([A-Z0-9]+|X86_64|PPC64_LE|MIPS_LE|MIPS64_LE)(|_VERITY|_VERITY_SIG)\s+SD_ID128_MAKE\((.*)\)', m.group(1)):
type, arch, suffix, u = m2.groups()
u = uuid.UUID(u.replace(',', ''))
assert arch in ARCHITECTURES