Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-6791

Support custom partitioning in bootc-image-builder

    • Support custom partitioning in bootc-image-builder
    • Done
    • image-builder-2
    • 40
    • False

      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
              None
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: