diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-11-23 17:49:30 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-11-24 12:00:41 +0100 |
commit | 3c58ae13134abad5fb8ba10d6cc2345fcde8f19c (patch) | |
tree | 6485b43a20cb5f0d50477949ae5017235d929259 /src/shared | |
parent | gpt: Rename PPC64LE TO PPC64_LE (diff) | |
download | systemd-3c58ae13134abad5fb8ba10d6cc2345fcde8f19c.tar.xz systemd-3c58ae13134abad5fb8ba10d6cc2345fcde8f19c.zip |
basic: Rename SECONDARY_ARCHITECTURE to ARCHITECTURE_SECONDARY
For easier integration with the _GPT_ALL_ARCHES macro in a future
commit.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/dissect-image.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index 06d0319f75..71b153b240 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -1069,7 +1069,7 @@ int dissect_image( continue; designator = PARTITION_ROOT_SECONDARY; - architecture = SECONDARY_ARCHITECTURE; + architecture = ARCHITECTURE_SECONDARY; rw = !(pflags & GPT_FLAG_READ_ONLY); growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); @@ -1094,7 +1094,7 @@ int dissect_image( designator = PARTITION_ROOT_SECONDARY_VERITY; fstype = "DM_verity_hash"; - architecture = SECONDARY_ARCHITECTURE; + architecture = ARCHITECTURE_SECONDARY; rw = false; } else if (sd_id128_equal(type_id, GPT_ROOT_SECONDARY_VERITY_SIG)) { @@ -1196,7 +1196,7 @@ int dissect_image( continue; designator = PARTITION_USR_SECONDARY; - architecture = SECONDARY_ARCHITECTURE; + architecture = ARCHITECTURE_SECONDARY; rw = !(pflags & GPT_FLAG_READ_ONLY); growfs = FLAGS_SET(pflags, GPT_FLAG_GROWFS); @@ -1220,7 +1220,7 @@ int dissect_image( designator = PARTITION_USR_SECONDARY_VERITY; fstype = "DM_verity_hash"; - architecture = SECONDARY_ARCHITECTURE; + architecture = ARCHITECTURE_SECONDARY; rw = false; } else if (sd_id128_equal(type_id, GPT_USR_SECONDARY_VERITY_SIG)) { |