fedora: /boot on btrfs for Fedora Cloud 44 (HMS-9737)#1960
fedora: /boot on btrfs for Fedora Cloud 44 (HMS-9737)#1960supakeen merged 4 commits intoosbuild:mainfrom
Conversation
ae6cb2c to
bf19fd7
Compare
1a26c37 to
f5ad9a7
Compare
8f2c341 to
a190d00
Compare
155d5ba to
0fc5512
Compare
Update blueprint to 1.20.0. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
We enforce a partition for /boot even when there's already a subvolume with a mountpoint for /boot in the partition table. Let's change this requirement to only add a boot partition if there's a btrfs root but *no* boot. Note that in the future we might need to adjust this a bit further if we plan to allow for setting parent subvolumes and automatic mountpoints for btrfs subvols. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
87406aa to
d4df024
Compare
|
This is now ready for review since the We had some chat(s) about this during the team meeting and standup. It seems we're mostly OK with the If someone does have a way to make that part nicer please let me know :) |
|
I don't think there's a such thing as "nice code" for configuring bootloaders. At least not in my experience. |
Conan-Kudo
left a comment
There was a problem hiding this comment.
Looks reasonable to me.
thozza
left a comment
There was a problem hiding this comment.
In general, this LGTM.
There is one corner case that could lead to a panic, so it would be good to address it.
We need to do things slightly differently for our BLS and grub configs when the mountable for `/boot` is not on an plain partition. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Change our default image definitions to have the `/boot` mountpoint be on the btrfs filesystem for Fedora Cloud 44, per this [1] change proposal. Note that s390x stays the same as this change doesn't apply there. [1]: https://fedoraproject.org/wiki/Changes/BtrfsBootForCloud Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
d4df024 to
8e5e6a2
Compare
Changes with 0.231.0 ---------------- - Drop iommu.strict=0 from aarch64 EC2 images (osbuild/images#2090) - Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - bootc: Fix selinux labeling when using separate build container (osbuild/images#2092) - Author: Alexander Larsson, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - ci: resolve dubious ownership for git (osbuild/images#2100) - Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou, Michael Vogt - data: import RH v4 key on rhel-10.1+ only (osbuild/images#2097) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger - distrodefs: drop `use_syslinux` as it has no effect (osbuild/images#2088) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger - fedora: /boot on btrfs for Fedora Cloud 44 (HMS-9737) (osbuild/images#1960) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Neal Gompa (ニール・ゴンパ), Tomáš Hozza - fedora: add `server-network-installer` (osbuild/images#2094) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Tomáš Hozza - installer: only install `syslinux` when needed (osbuild/images#2089) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Tomáš Hozza - manifest: add `set -e` to `bootc switch...` kickstart %post (osbuild/images#2093) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - many: include legal and license files in ISO (osbuild/images#2099) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Tomáš Hozza - osbuild: drop `valueIn` helper (osbuild/images#2086) - Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger - readme: update link to image definitions (osbuild/images#2070) - Author: Anna Vítová, Reviewers: Achilleas Koutsou, Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - test: cross arch build/boot smoke test for ppc64le,s390x (osbuild/images#2069) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza
Changes with 0.231.0 ---------------- - Drop iommu.strict=0 from aarch64 EC2 images (osbuild/images#2090) - Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - bootc: Fix selinux labeling when using separate build container (osbuild/images#2092) - Author: Alexander Larsson, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - ci: resolve dubious ownership for git (osbuild/images#2100) - Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou, Michael Vogt - data: import RH v4 key on rhel-10.1+ only (osbuild/images#2097) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger - distrodefs: drop `use_syslinux` as it has no effect (osbuild/images#2088) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger - fedora: /boot on btrfs for Fedora Cloud 44 (HMS-9737) (osbuild/images#1960) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Neal Gompa (ニール・ゴンパ), Tomáš Hozza - fedora: add `server-network-installer` (osbuild/images#2094) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Tomáš Hozza - installer: only install `syslinux` when needed (osbuild/images#2089) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Tomáš Hozza - manifest: add `set -e` to `bootc switch...` kickstart %post (osbuild/images#2093) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - many: include legal and license files in ISO (osbuild/images#2099) - Author: Simon de Vlieger, Reviewers: Lukáš Zapletal, Tomáš Hozza - osbuild: drop `valueIn` helper (osbuild/images#2086) - Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger - readme: update link to image definitions (osbuild/images#2070) - Author: Anna Vítová, Reviewers: Achilleas Koutsou, Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza - test: cross arch build/boot smoke test for ppc64le,s390x (osbuild/images#2069) - Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger, Tomáš Hozza
We enforce a partition for /boot even when there's already a subvolume with a mountpoint for /boot in the partition table. Let's change this requirement to only add a boot partition if there's a btrfs root but no boot.
Initially my focus is on supporting this in your YAML definitions hence some shortcuts are taken here; we assume that there must be a btrfs subvolume with a
/bootmountpoint. This isn't a hard requirement (I could see using the/subvolume instead) but that will need a bit more finagling and discussion.Also moves Fedora Cloud 44's
/bootonto btrfs per this change proposal.