Commit 15b5f4d
install/bootloader: make --write-uuid optional
Allow skiping the boot uuid stamp file writing in bootupd. When creating
a golden image, we expect the UUIDS to be randomized at first boot, so
always writing the stamp is odd.
At least for Fedora CoreOS the stamp being already there at first boot
short-circuit the partitions uuid randomization process. So let's make
it optionnal. It will default to `false`, preserving existing behaviour
when not specified.
ref coreos/fedora-coreos-config#3898
Assisted-by: OpenCode (Opus 4.5)
Signed-off-by: jbtrystram <[email protected]>1 parent 45fcce3 commit 15b5f4d
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
371 | 376 | | |
372 | 377 | | |
373 | 378 | | |
| |||
0 commit comments