Skip to content

Commit 467eb53

Browse files
committed
bootc: use a couple of bootc new features
See bootc-dev/bootc#1978 And bootc-dev/bootc#1909
1 parent 83ef2df commit 467eb53

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/cmdlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ runvm() {
770770

771771
# include COSA in the image
772772
find /usr/lib/coreos-assembler/ -type f > "${vmpreparedir}/hostfiles"
773-
# Include arbitrary files from the host
773+
# Include arbitrary files from the host
774774
# cat <<EOF >> "${vmpreparedir}/hostfiles"
775775
# /usr/lib/osbuild/stages/org.osbuild.ln
776776
# /usr/lib/osbuild/stages/org.osbuild.ln.meta.json

src/osbuild-manifests/coreos.osbuild.x86_64.bootc.mpp.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@ pipelines:
351351
# See github.com/bootc-dev/bootc/issues/1441
352352
boot-mount-spec: ""
353353
root-mount-spec: ""
354+
# We don't want bootupd to stamp the boot and UEFI paritions
355+
# with the boot uuid because these will change at first boot.
356+
# See https://github.com/coreos/fedora-coreos-config/pull/3898
357+
bootupd-skip-boot-uuid: true
354358
devices:
355359
disk:
356360
type: org.osbuild.loopback
@@ -621,6 +625,10 @@ pipelines:
621625
# See github.com/bootc-dev/bootc/issues/1441
622626
boot-mount-spec: ""
623627
root-mount-spec: ""
628+
# We don't want bootupd to stamp the boot and UEFI paritions
629+
# with the boot uuid because these will change at first boot.
630+
# See https://github.com/coreos/fedora-coreos-config/pull/3898
631+
bootupd-skip-boot-uuid: true
624632
devices:
625633
disk:
626634
type: org.osbuild.loopback

src/supermin-init-prelude.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,8 @@ cat > /usr/lib/ostree/prepare-root.conf <<EOF
9797
[composefs]
9898
enabled = true
9999
EOF
100+
101+
cat <<EOF > /usr/lib/bootc/install/10-ostree.toml
102+
[install.ostree]
103+
bls-append-except-default = 'grub_users=""'
104+
EOF

0 commit comments

Comments
 (0)