Skip to content

Commit 500f77c

Browse files
mvo5supakeen
authored andcommitted
distro: drop static UUIDs from bootc partition table
See osbuild#1922 - this commit does the same for bootc images.
1 parent 44bfb77 commit 500f77c

36 files changed

+35
-56
lines changed

data/distrodefs/bootc-generic/imagetypes.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,38 +32,22 @@
3232
- &filesystem_data_guid "0FC63DAF-8483-4772-8E79-3D69D8477DE4"
3333
- &xboot_ldr_partition_guid "BC13C2FF-59E6-4262-A352-B275FD6F7172"
3434
- &prep_partition_guid "9E1A2D38-C612-4316-AA26-8B49521E5A8B"
35-
# static UUIDs for partitions and filesystems
36-
# NOTE(akoutsou): These are unnecessary and have stuck around since the
37-
# beginning where (I believe) the goal was to have predictable,
38-
# reproducible partition tables. They might be removed soon in favour of
39-
# proper, random UUIDs, with reproducibility being controlled by fixing
40-
# rng seeds.
41-
uuids:
42-
- &bios_boot_partition_uuid "FAC7F1FB-3E8D-4137-A512-961DE09A5549"
43-
- &root_partition_uuid "6264D520-3FB9-423F-8AB8-7A0A8E3D3562"
44-
- &data_partition_uuid "CB07C243-BC44-4717-853E-28852021225B"
45-
- &efi_system_partition_uuid "68B2905B-DF3E-4FB3-80FA-49D1E773AA33"
46-
- &efi_filesystem_uuid "7B77-95E7"
4735

4836
partition_tables:
4937
default_bootc_partition_table: &default_bootc_partition_table
5038
x86_64:
51-
uuid: "D209C89E-EA5E-4FBD-B161-B461CCE297E0"
5239
type: "gpt"
5340
partitions:
5441
- &default_partition_table_part_bios
5542
size: "1 MiB"
5643
bootable: true
5744
type: *bios_boot_partition_guid
58-
uuid: *bios_boot_partition_uuid
5945
- &default_partition_table_part_efi
6046
size: "501 MiB"
6147
type: *efi_system_partition_guid
62-
uuid: *efi_system_partition_uuid
6348
payload_type: "filesystem"
6449
payload:
6550
type: vfat
66-
uuid: *efi_filesystem_uuid
6751
mountpoint: "/boot/efi"
6852
label: "EFI-SYSTEM"
6953
fstab_options: "umask=0077,shortname=winnt"
@@ -72,7 +56,6 @@
7256
- &default_partition_table_part_boot
7357
size: "1 GiB"
7458
type: *filesystem_data_guid
75-
uuid: *data_partition_uuid
7659
payload_type: "filesystem"
7760
payload:
7861
mountpoint: "/boot"
@@ -81,21 +64,18 @@
8164
- &default_partition_table_part_root
8265
size: "2 GiB"
8366
type: *filesystem_data_guid
84-
uuid: *root_partition_uuid
8567
payload_type: "filesystem"
8668
payload: &default_partition_table_part_root_payload
8769
label: "root"
8870
mountpoint: "/"
8971
fstab_options: "ro"
9072
aarch64: &default_partition_table_aarch64
91-
uuid: "D209C89E-EA5E-4FBD-B161-B461CCE297E0"
9273
type: "gpt"
9374
partitions:
9475
- *default_partition_table_part_efi
9576
- *default_partition_table_part_boot
9677
- *default_partition_table_part_root
9778
ppc64le:
98-
uuid: "D209C89E-EA5E-4FBD-B161-B461CCE297E0"
9979
type: "gpt"
10080
partitions:
10181
- size: "4 MiB"
@@ -104,7 +84,6 @@
10484
- *default_partition_table_part_boot
10585
- *default_partition_table_part_root
10686
s390x:
107-
uuid: "D209C89E-EA5E-4FBD-B161-B461CCE297E0"
10887
type: "gpt"
10988
partitions:
11089
- *default_partition_table_part_boot
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
be92367cbe05c5dba5c6061ad09d70d8e8357592
1+
6fedbadf0ad99584e25c3a2f3b8510233eb9b667
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5a2e44f05d0775d9cc7c988cf4479a211100e93e
1+
1dabe7d07ac7ddf6f8e4e0a0d1f3ed3ea3d7d010
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
84fe6462a56271c998d3b51c9d74d9514aae21a4
1+
1d35826776093132275e4eab0f58d529628744e6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
439078c68a3c2225d89dd9c925919a13b69bc4f0
1+
19909019b9bfdecef15e2362968c5ec193604edd
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d849973f6298f868a5fa965db6912d9a4b1b7da8
1+
556455a373d6a7567e370769ba82ad5909681dc1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b05ae8d20f891817ae01e8e930dfe5c694ab9832
1+
424843c3edf0d3cd69d5bf893171767a1e16a0ab
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f2219c91de6431632f2addbe3c9524bd1b299e93
1+
23129854488486a5507cb7512a7fd057d9122231
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e59e82acecb24375bc56f4bcf7ede6a9f966d357
1+
fe83f7f85a94adc72783a47a3e9043b517417cd1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
adac2acafceacc285567182b2bb34ee852b0d349
1+
370c5f735a95fb90b3305f5264e9ce2dbfe0339d

0 commit comments

Comments
 (0)