-
Epic
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
Support custom partitioning in bootc-image-builder
-
40
-
False
-
None
-
False
-
Testable
-
To Do
-
RHELBU-2851 - bootc-image-builder to support custom partitioning
-
-
Goal:
- Implement several improvements to the BIB's partitioning logic:
- It's possible to have custom mountpoints.
- The goal is to be pretty flexible, but it should not be possible to nonsense mountpoints like /sys and /proc (the current ruleset in composer is fairly good).
- The absolute minimal set is: /var/tmp, /local, /local/afs.cache, /var/log (requirements from a major customer).
- It's possible to create LVM-based images. This means that all partitions are on LVs except /boot and /boot/efi.
- If raw partitioning is used, there's no /boot by default. (This is aligned with https://issues.redhat.com/browse/RHELBU-2820 )
- It's possible to create an LV-based swap.
- It's possible to give VGs and LVs custom names.
- It's possible to set custom mount options for fstab.
- It's possible to have custom mountpoints.
Acceptance Criteria:
- All goals are implemented.
- This is demoed.
Out of scope:
- No multiple VGs nor PVs on one image.
- Swapfiles (should be reasonable simple to define them in the bootable container).
Open question:
- Raw swap partitions
- If it's too much effort to implement them right now, let's split them out into a separate epic/feature.