Skip to content

Commit 60c1c5f

Browse files
jbtrystramdustymabe
authored andcommitted
osbuild/bootc: skip writing boot parition UUID
By default bootc calls bootups with the `--write-uuid` option that write a stamp file with the boot partition UUID in the UEFI parition. We want to restamp those UUID at first boot, so adding this option make sure bootc does not pass that flag to bootupd. See bootc-dev/bootc#1978
1 parent a3b4d10 commit 60c1c5f

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/osbuild-manifests/build.raw-4k-image-bootc.ipp.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ pipelines:
217217
# See github.com/bootc-dev/bootc/issues/1441
218218
boot-mount-spec: ""
219219
root-mount-spec: ""
220+
# We don't want bootupd to stamp the boot and UEFI paritions
221+
# with the boot uuid because these will change at first boot.
222+
# See https://github.com/coreos/fedora-coreos-config/pull/3898
223+
bootupd-skip-boot-uuid: true
220224
devices:
221225
disk:
222226
type: org.osbuild.loopback

src/osbuild-manifests/build.raw-image-bootc.ipp.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ pipelines:
203203
# See github.com/bootc-dev/bootc/issues/1441
204204
boot-mount-spec: ""
205205
root-mount-spec: ""
206+
# We don't want bootupd to stamp the boot and UEFI paritions
207+
# with the boot uuid because these will change at first boot.
208+
# See https://github.com/coreos/fedora-coreos-config/pull/3898
209+
bootupd-skip-boot-uuid: true
206210
devices:
207211
disk:
208212
type: org.osbuild.loopback

0 commit comments

Comments
 (0)