Uploaded image for project: 'Image Builder'
  1. Image Builder
  2. COMPOSER-2301

Support custom partitioning in bootc-image-builder

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Critical Critical
    • CY24Q3, CY24Q4
    • 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.

      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.

              akoutsou@redhat.com Achilleas Koutsou
              ssteinbe@redhat.com Simon Steinbeiss
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: