Skip to content

distro: move disk/container image types into pure YAML (COMPOSER-2533) - #1508

Merged
supakeen merged 26 commits into
osbuild:mainfrom
mvo5:yaml-imageconfig-8
May 13, 2025
Merged

supakeen merged 26 commits into
osbuild:mainfrom
mvo5:yaml-imageconfig-8

Conversation

@mvo5

@mvo5 mvo5 commented May 9, 2025 •

Copy link
Copy Markdown
Contributor

This PR moves the disk/container image types in fedora into pure YAML. That means that there is no go code anymore that defines the converted image types and adding new image types to distro.yaml adds them dynamically.

Here is an example:

  container: &container
    filename: "container.tar"
    mime_type: "application/x-tar"
    image_func: "container"
    bootable: false
    build_pipelines: ["build"]
    payload_pipelines: ["os", "container"]
    exports: ["container"]
    required_partition_sizes: *default_required_dir_sizes
    platforms:
      - arch: "x86_64"
      - arch: "aarch64"
      - arch: "ppc64le"
      - arch: "s390x"
      - arch: "riscv64"
    image_config: &image_config_container
      no_selinux: true
      exclude_docs: true
      locale: "C.UTF-8"
      timezone: "Etc/UTC"  
    package_sets:
      os:
        - include:
            - "bash"
...

This focused on fedora (for now) to show the concepts and to not get too distracted (as converting the code to YAML is a lot of busywork).

The iot and installer images for fedora still need to be done, but with this PR merge this should be just busywork.

This started out split into a bunch of smaller PRs but I decided to open a huge one instead (which is not what I usually do) because a) it provides the needed context b) rebaseing big yaml trees is a pain c) slow traction on the small PRs so I try a big one now :)

Smaller PRs we could open (again):

Note that there is some useful stuff in https://github.com/osbuild/images/pull/1462/commits to scavenge, especially 62e5cbb

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, LGTM. Some questions and comments inline.
Not approving because of the commit message that needs fixing (InstallerConfig) and my question about the FileNode struct and yaml format.

Also, I didn't check each line of the conversions to yaml in detail. I trust the manifest checksums will take care of validating that.

Comment thread pkg/distro/defs/loader.go Resolved
Comment on lines +661 to +1027
os:
- *minimal_raw_pkgset
installer:
- &anaconda_pkgset

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're going to have to do something to make these package set names easier to work with without needing to read code or understand the internals. I've been thinking about this for a bit and I keep alternating between two ideas:

  1. Match them up with pipeline names and make pipeline names discoverable externally. This could be in the form of developer tooling, a command that can output the general form of a manifest (pipeline names and list of stages).
  2. Have specific names for each package set based on their purpose, like we have now, but document it well. Generic names like "os" and "installer" are nice and clear, but I think they also give a false sense of guessability. For example, will adding a "build" package set affect the build packages? It might be better to give these explicit, project-specific names in reverse-DNS form (org.osbuild.packages.os, org.osbuild.packages.installer?). I think something like that would make it very clear that these package set names aren't arbitrary, have special meaning internally, and should be referenced somewhere.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that is an important topic, especially when we invite outsider to write defintions. It seems right now we only have "os", "installer" and "container". Theere are also "build" and "blueprint" but (AFAICT? am I missing something?) those are unused.

The "os" and "installer" look pretty clear, the "container" one is a bit ambiguous but we could either rename or just document it, having three documented ones seems ok (especially since "container" is a bit of a niche one because (again AIUI) its only relevant for iot images types which will be phased out in favor of bootc).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not particularly fond of "FQDN"s. We can visit this problem once we're also ready to split out the pipelines a bit more (e.g. separate customization pipeline, etc).

Comment thread pkg/arch/arch.go Resolved
Comment thread pkg/arch/arch.go Resolved
Comment on lines +17 to 26
type baseFsNodeJSON struct {
Path string
Mode *os.FileMode
User interface{}
Group interface{}
}

type baseFsNode struct {
path string
mode *os.FileMode
user interface{}
group interface{}
baseFsNodeJSON
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm having a bit of trouble understanding the reason for this change. Is it impossible (or messy) to do the unmarshalling into the File struct without the nesting?
Could we change the two fsnodes so that they can be unmarshalled unambiguously? Or perhaps we could have a slightly different serialised format from the internal?

@mvo5 mvo5 May 12, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the commit message should probably be better here. The reason I did it this way is simply that there is already a "File.Path()" function. So just unmarshaling into "File" would require to rename the function and add an exported "File string". I did this in #1497 but the downside of this appraoch is that its now trvial to create invalid node because there is no getters/setters anymore. The original simple map based approach was also not much liked (#1479) and the approach used here (originally from #1500) got the most love so far. But happy to look into more directions here if there are new ideas (fwiw, I can open this one separtely again if you feel it would benefit from a more targeted discussion).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. The explanation clarifies everything (I didn't connect it to the previous versions and I missed some of the discussion on those PRs).

I think the current solution is fine. The only alternative I can think of is to basically disconnect the two, so unmarshal into baseFsNodeJSON and then copy everything to baseFsNode for internal use. But that's pretty much the same effort and amount of code probably.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, they are probably about the same. I /think/ I even had a version with a baseFsNodeJSON and that copied into baseFsNode - I don't remember why I decided on this in the end. I don't think go has a really nice pattern for this :/

Comment thread pkg/distro/defs/loader.go Resolved
Comment thread pkg/distro/defs/loader.go Resolved
Comment thread pkg/distro/defs/loader.go Resolved
mvo5 added 17 commits May 12, 2025 09:23
This commit changes the defs.PackageSet loader to return
the full map of all static package sets defined for the
pipelines. This is needed when we want to move all of
the image types into YAML. We currently define in code
what image types load from os, container or installer
pipelines but that does not translate to pure YAML.

This maps "pkgsKey" to their package sets. The
map key here is a string that can either be:
- "os": packages for the os
- "installer": packages for the installer
- "container": extra package into an iot container

- "blueprint": unused AFAICT
- "build": unused AFAICT
Note that this does not directly maps to pipeline names
but we should look into making it so.

Cleanup of osbuild#1291
This commit is very mechnical. It updates the package
sets that used to be "flat" into a map. For most image
types this just means adding "os" but for some (like
the installers) it adds the second pipeline.
This commit adds a YAML `environment.EnvironmentConf` that
implements the `environment.Environment` inteface so that
we can define environments inside out image definition
YAML.
The previous code was panic()ing on invalid input. This is no
longer an option as we will define platforms in YAML and here
we need to be able to handle incorrect input more gracefully
than a panic. The callers are also updated.
The error so far could be more helpful, so far we do:
```
unsupported architecture
```
instead we now error with the unsupported architecture as
part of the error message.
```
unsupported architecture <unsupported-arch>
```
We will define the platform in YAML so we need a way to
unmarshal the architecture (that is part of the platform).
This commit adds a new platform called `PlatformConf` that
implements `platform.Platform` but is fully configured from
YAML.
When validating paths in the fsnode module, use the `filepath`
module instead of the (more generic) `path`.
When we move `ImageConfig` into YAML we will need support for
`fsnode.{Dir,File}` as it is used as part of the ImageConfig.

This commit adds support for JSON/YAML unmarshaling.
This commit adds a new `defs.ImageConfig()` to load per image
type specific image config loading. This allows to write:
```yaml
image_types:
  test_type:
    image_config:
      locale: "C.UTF-8"
      timezone: "DefaultTZ"
      condition:
        version_less_than:
          "2":
            timezone: "OverrideTZ"
```
This commit moves the `ImageConfig` of each package into the
distro.yaml.
This commit adds support to load the full image types
definition directly from YAML. Note that this does not
(yet) implement the `distro.ImageType` interface, it
just provides the ability to load the base information
about the image type and then the imageTypeYAML needs
to be converted into the "native" fedora/rhel image
type. This will change in a subsequent refactor and
there will be only a single (yaml based) image type
implementation.
We have a bunch of image types like `server-qcow2`. In our
YAML those are written as `server_qcow2` to avoid having
to quote them. Noralize the names on load (i.e. "_" -> "-").
We have a bunch of alias names for the image types now, ensure
this is properly supported by the image yaml.
This commits adds the ability to load image types fully from
YAML and moves the `container` type into pure YAML as the
first example.
This commit moves the fedora/{qcow2,vhd,oci,openstack} image
types entirely into YAML and remove the mkQcow2ImgType code.
@mvo5
mvo5 force-pushed the yaml-imageconfig-8 branch from 41d69ea to 8089893 Compare May 12, 2025 07:51
@thozza
thozza self-requested a review May 12, 2025 08:09
@achilleas-k

Copy link
Copy Markdown
Member

Something broke.

@mvo5
mvo5 force-pushed the yaml-imageconfig-8 branch from 8089893 to 1dd69d2 Compare May 12, 2025 12:02
@achilleas-k
achilleas-k self-requested a review May 12, 2025 12:04
mvo5 added 8 commits May 12, 2025 14:48
This commit moves the fedora/minimal-raw-{xz,zst} image
types entirely into YAML and remove the mkMinimalRawImgType
code.

The minimal-raw-zst did not get the right overrides initially.
This commit fixes this.
This commit moves the fedora/{vmdk,ova} image
types entirely into YAML and remove the mkVmdkImgType()
code.
This commit moves the fedora/wsl image types entirely into
YAML and remove the mkWslImgType() code.
This commit adds YAML based InstallerConfig reading via a
new `installer_config` key. E.g.
```yaml
image_types:
  test_type:
    installer_config:
      additional_dracut_modules:
        - base-dracut-mod1
      additional_drivers:
        - base-drv1
```
Initially arch,distro_name, version_less_than as conditions
are supported. Overrides fully override, there is no "smartz"
or merging. When multiple conditions are given the order
is implenentation specific, we should not allow this (for now).
This commit constraints the conditions for the InstallerConfig
to one for now. If multiple ones are used an error is raised.

We can relax this later but we need to think what it means,
right now if multiple conditions are used and multiple would
be meet the order of the implementation would decide which
one is taken.

Take this YAML:
```yaml
image_types:
  test_type:
    installer_config:
      additional_dracut_modules:
        - base-dracut-mod1
      additional_drivers:
        - base-drv1
      condition:
        version_less_than:
          "2":
            additional_dracut_modules:
              - override-dracut-mod1
        distro_name:
          "test-distro":
            additional_dracut_modules:
              - other-override-dracut-mod1
```
here it is not clear what to do if both the "version" and
"distro_name" condition are meet at the same time. Should we
merge? Was this a mistake by the user? Should one take precedence?
To avoid having to answer this now add this error.

Note that we have a similar quesiton in ImageConfig and there
the `distro_name` takes precdence currently because it's
expedient for rhel/centos (as the centos version is always 9.0
so version_less_than is problematic here). A way out might be
that version_less_than would need a distro prefix?
This commit moves the InstallerConfig into YAML and remove
the defaultDistroInstallerConfig() helper from the code.
This commit adds support for all used image functions so
that the `image_func: <value>` for a new image type provides
all that is supported by the fedora image functions.

This includes: image_installer, live_installer, bootable_container,
iot, iot_installer, iot_simplified_installer
This commit removes the name mangling/normalizations that
we had in the image definition loader, i.e we drop the
"-" -> "_" replace. This also requires updating all the
YAMLs.

Thanks to Achilleas for suggesting this.
@mvo5
mvo5 force-pushed the yaml-imageconfig-8 branch from 1dd69d2 to 4a54e2b Compare May 12, 2025 12:50
This commit drops the no longer used initialSetupKickstart()
function. This is part of the YAML now.

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!!

LGTM

Comment on lines +17 to 26
type baseFsNodeJSON struct {
Path string
Mode *os.FileMode
User interface{}
Group interface{}
}

type baseFsNode struct {
path string
mode *os.FileMode
user interface{}
group interface{}
baseFsNodeJSON
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. The explanation clarifies everything (I didn't connect it to the previous versions and I missed some of the discussion on those PRs).

I think the current solution is fine. The only alternative I can think of is to basically disconnect the two, so unmarshal into baseFsNodeJSON and then copy everything to baseFsNode for internal use. But that's pretty much the same effort and amount of code probably.

@achilleas-k

Copy link
Copy Markdown
Member

I cloned this PR locally to poke around some of the YAML files and noticed some trailing whitespace on some lines. Since we're going all in on YAML, we should eventually add yamllint to our PR checks to keep things clean.

@mvo5

mvo5 commented May 13, 2025

Copy link
Copy Markdown
Contributor Author

I cloned this PR locally to poke around some of the YAML files and noticed some trailing whitespace on some lines. Since we're going all in on YAML, we should eventually add yamllint to our PR checks to keep things clean.

Thanks, that is an excellent point. I added a yamllint check in #1514 (and fixed the issues of course)

- "coreos.no_persist_ip"

environments:
kvm: &kvm_env

@supakeen supakeen May 13, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followup: Consistency wise, should this key be called kvm_env?

lock_root_user: true

disk_sizes:
default_required_partition_sizes: &default_required_dir_sizes

@supakeen supakeen May 13, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followup: Anchor name should probably be &default_required_partition_sizes?

@supakeen
supakeen added this pull request to the merge queue May 13, 2025
Merged via the queue into osbuild:main with commit 4995235 May 13, 2025
achilleas-k added a commit to achilleas-k/osbuild-composer that referenced this pull request May 27, 2025
tag v0.145.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.145.0

----------------
  * github: run dependabot gomod action weekly (osbuild/image-builder#1476)
    * Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal

— Somewhere on the Internet, 2025-05-12

---

tag v0.146.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.146.0

----------------
  * Fixes for ESP partition: Make optional, set label (osbuild/image-builder#1525)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Brian C. Lane
  * Initial automotive work: custom selinux policy, separate build container for bootc, and ext4 verity (osbuild/image-builder#1519)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Update snapshots to 20250512 (osbuild/image-builder#1515)
    * Author: SchutzBot, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * disk: make auto-generated /boot 1 GiB big (osbuild/image-builder#1499)
    * Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Michael Vogt
  * distro.yaml: Clean up yamllint errors and warnings (osbuild/image-builder#1523)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
  * distro/rhel9: make /boot 1 GiB everywhere (osbuild/image-builder#1498)
    * Author: Ondřej Budai, Reviewers: Michael Vogt, Simon de Vlieger
  * distro: move disk/container image types into pure YAML (COMPOSER-2533) (osbuild/image-builder#1508)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * fedora: move all image types into pure YAML (osbuild/image-builder#1514)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fsnode: fix go-1.24 errors  (osbuild/image-builder#1521)
    * Author: Michael Vogt, Reviewers: Ondřej Budai, Tomáš Hozza
  * osbuild: add JSON/YAML unmarshal to UdevRulesStageOptions (osbuild/image-builder#1489)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * test: Run more distro tests in parallel (osbuild/image-builder#1483)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger

— Somewhere on the Internet, 2025-05-19

---

tag v0.147.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.147.0

----------------
  * Add support for setting partition uuid and label (osbuild/image-builder#1543)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Cleanup of new APIs (mkfs options and build container) (osbuild/image-builder#1526)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * distro/rhel: remove the user/group warnings for edge-commits (osbuild/image-builder#1538)
    * Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-20

---

tag v0.148.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.148.0

----------------
  * Makefile: add vet command to check for consistent struct tags (osbuild/image-builder#1554)
    * Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger
  * disk: tiny tweaks for the new MkfsOptions support (osbuild/image-builder#1545)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Alexander Larsson, Lukáš Zapletal
  * fedora/many: increase `/boot` to 1 GiB (HMS-8604) (osbuild/image-builder#1557)
    * Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Ondřej Budai
  * fedora/wsl: include `wsl-setup` (HMS-8573) (osbuild/image-builder#1550)
    * Author: Simon de Vlieger, Reviewers: Brian C. Lane, Michael Vogt
  * fedora: add `anaconda.ModuleUsers` to ImageInstallerImage (osbuild/image-builder#1558)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fedora: implement setting of the RootfsType via YAML (osbuild/image-builder#1544)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * rhel10: move ImageConfig into pure YAML (osbuild/image-builder#1542)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-26

---
achilleas-k added a commit to achilleas-k/osbuild-composer that referenced this pull request May 28, 2025
tag v0.145.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.145.0

----------------
  * github: run dependabot gomod action weekly (osbuild/image-builder#1476)
    * Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal

— Somewhere on the Internet, 2025-05-12

---

tag v0.146.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.146.0

----------------
  * Fixes for ESP partition: Make optional, set label (osbuild/image-builder#1525)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Brian C. Lane
  * Initial automotive work: custom selinux policy, separate build container for bootc, and ext4 verity (osbuild/image-builder#1519)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Update snapshots to 20250512 (osbuild/image-builder#1515)
    * Author: SchutzBot, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * disk: make auto-generated /boot 1 GiB big (osbuild/image-builder#1499)
    * Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Michael Vogt
  * distro.yaml: Clean up yamllint errors and warnings (osbuild/image-builder#1523)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
  * distro/rhel9: make /boot 1 GiB everywhere (osbuild/image-builder#1498)
    * Author: Ondřej Budai, Reviewers: Michael Vogt, Simon de Vlieger
  * distro: move disk/container image types into pure YAML (COMPOSER-2533) (osbuild/image-builder#1508)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * fedora: move all image types into pure YAML (osbuild/image-builder#1514)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fsnode: fix go-1.24 errors  (osbuild/image-builder#1521)
    * Author: Michael Vogt, Reviewers: Ondřej Budai, Tomáš Hozza
  * osbuild: add JSON/YAML unmarshal to UdevRulesStageOptions (osbuild/image-builder#1489)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * test: Run more distro tests in parallel (osbuild/image-builder#1483)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger

— Somewhere on the Internet, 2025-05-19

---

tag v0.147.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.147.0

----------------
  * Add support for setting partition uuid and label (osbuild/image-builder#1543)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Cleanup of new APIs (mkfs options and build container) (osbuild/image-builder#1526)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * distro/rhel: remove the user/group warnings for edge-commits (osbuild/image-builder#1538)
    * Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-20

---

tag v0.148.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.148.0

----------------
  * Makefile: add vet command to check for consistent struct tags (osbuild/image-builder#1554)
    * Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger
  * disk: tiny tweaks for the new MkfsOptions support (osbuild/image-builder#1545)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Alexander Larsson, Lukáš Zapletal
  * fedora/many: increase `/boot` to 1 GiB (HMS-8604) (osbuild/image-builder#1557)
    * Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Ondřej Budai
  * fedora/wsl: include `wsl-setup` (HMS-8573) (osbuild/image-builder#1550)
    * Author: Simon de Vlieger, Reviewers: Brian C. Lane, Michael Vogt
  * fedora: add `anaconda.ModuleUsers` to ImageInstallerImage (osbuild/image-builder#1558)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fedora: implement setting of the RootfsType via YAML (osbuild/image-builder#1544)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * rhel10: move ImageConfig into pure YAML (osbuild/image-builder#1542)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-26

---
achilleas-k added a commit to achilleas-k/osbuild-composer that referenced this pull request Jun 2, 2025
tag v0.145.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.145.0

----------------
  * github: run dependabot gomod action weekly (osbuild/image-builder#1476)
    * Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal

— Somewhere on the Internet, 2025-05-12

---

tag v0.146.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.146.0

----------------
  * Fixes for ESP partition: Make optional, set label (osbuild/image-builder#1525)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Brian C. Lane
  * Initial automotive work: custom selinux policy, separate build container for bootc, and ext4 verity (osbuild/image-builder#1519)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Update snapshots to 20250512 (osbuild/image-builder#1515)
    * Author: SchutzBot, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * disk: make auto-generated /boot 1 GiB big (osbuild/image-builder#1499)
    * Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Michael Vogt
  * distro.yaml: Clean up yamllint errors and warnings (osbuild/image-builder#1523)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
  * distro/rhel9: make /boot 1 GiB everywhere (osbuild/image-builder#1498)
    * Author: Ondřej Budai, Reviewers: Michael Vogt, Simon de Vlieger
  * distro: move disk/container image types into pure YAML (COMPOSER-2533) (osbuild/image-builder#1508)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * fedora: move all image types into pure YAML (osbuild/image-builder#1514)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fsnode: fix go-1.24 errors  (osbuild/image-builder#1521)
    * Author: Michael Vogt, Reviewers: Ondřej Budai, Tomáš Hozza
  * osbuild: add JSON/YAML unmarshal to UdevRulesStageOptions (osbuild/image-builder#1489)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * test: Run more distro tests in parallel (osbuild/image-builder#1483)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger

— Somewhere on the Internet, 2025-05-19

---

tag v0.147.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.147.0

----------------
  * Add support for setting partition uuid and label (osbuild/image-builder#1543)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Cleanup of new APIs (mkfs options and build container) (osbuild/image-builder#1526)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * distro/rhel: remove the user/group warnings for edge-commits (osbuild/image-builder#1538)
    * Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-20

---

tag v0.148.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.148.0

----------------
  * Makefile: add vet command to check for consistent struct tags (osbuild/image-builder#1554)
    * Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger
  * disk: tiny tweaks for the new MkfsOptions support (osbuild/image-builder#1545)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Alexander Larsson, Lukáš Zapletal
  * fedora/many: increase `/boot` to 1 GiB (HMS-8604) (osbuild/image-builder#1557)
    * Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Ondřej Budai
  * fedora/wsl: include `wsl-setup` (HMS-8573) (osbuild/image-builder#1550)
    * Author: Simon de Vlieger, Reviewers: Brian C. Lane, Michael Vogt
  * fedora: add `anaconda.ModuleUsers` to ImageInstallerImage (osbuild/image-builder#1558)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fedora: implement setting of the RootfsType via YAML (osbuild/image-builder#1544)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * rhel10: move ImageConfig into pure YAML (osbuild/image-builder#1542)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-26

---
achilleas-k added a commit to osbuild/osbuild-composer that referenced this pull request Jun 5, 2025
tag v0.145.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.145.0

----------------
  * github: run dependabot gomod action weekly (osbuild/image-builder#1476)
    * Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal

— Somewhere on the Internet, 2025-05-12

---

tag v0.146.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.146.0

----------------
  * Fixes for ESP partition: Make optional, set label (osbuild/image-builder#1525)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Brian C. Lane
  * Initial automotive work: custom selinux policy, separate build container for bootc, and ext4 verity (osbuild/image-builder#1519)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Update snapshots to 20250512 (osbuild/image-builder#1515)
    * Author: SchutzBot, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * disk: make auto-generated /boot 1 GiB big (osbuild/image-builder#1499)
    * Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Michael Vogt
  * distro.yaml: Clean up yamllint errors and warnings (osbuild/image-builder#1523)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
  * distro/rhel9: make /boot 1 GiB everywhere (osbuild/image-builder#1498)
    * Author: Ondřej Budai, Reviewers: Michael Vogt, Simon de Vlieger
  * distro: move disk/container image types into pure YAML (COMPOSER-2533) (osbuild/image-builder#1508)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * fedora: move all image types into pure YAML (osbuild/image-builder#1514)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fsnode: fix go-1.24 errors  (osbuild/image-builder#1521)
    * Author: Michael Vogt, Reviewers: Ondřej Budai, Tomáš Hozza
  * osbuild: add JSON/YAML unmarshal to UdevRulesStageOptions (osbuild/image-builder#1489)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * test: Run more distro tests in parallel (osbuild/image-builder#1483)
    * Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger

— Somewhere on the Internet, 2025-05-19

---

tag v0.147.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.147.0

----------------
  * Add support for setting partition uuid and label (osbuild/image-builder#1543)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * Cleanup of new APIs (mkfs options and build container) (osbuild/image-builder#1526)
    * Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Simon de Vlieger
  * distro/rhel: remove the user/group warnings for edge-commits (osbuild/image-builder#1538)
    * Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-20

---

tag v0.148.0
Tagger: imagebuilder-bot <[email protected]>

Changes with 0.148.0

----------------
  * Makefile: add vet command to check for consistent struct tags (osbuild/image-builder#1554)
    * Author: Michael Vogt, Reviewers: Lukáš Zapletal, Simon de Vlieger
  * disk: tiny tweaks for the new MkfsOptions support (osbuild/image-builder#1545)
    * Author: Michael Vogt, Reviewers: Achilleas Koutsou, Alexander Larsson, Lukáš Zapletal
  * fedora/many: increase `/boot` to 1 GiB (HMS-8604) (osbuild/image-builder#1557)
    * Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Ondřej Budai
  * fedora/wsl: include `wsl-setup` (HMS-8573) (osbuild/image-builder#1550)
    * Author: Simon de Vlieger, Reviewers: Brian C. Lane, Michael Vogt
  * fedora: add `anaconda.ModuleUsers` to ImageInstallerImage (osbuild/image-builder#1558)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * fedora: implement setting of the RootfsType via YAML (osbuild/image-builder#1544)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
  * rhel10: move ImageConfig into pure YAML (osbuild/image-builder#1542)
    * Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger

— Somewhere on the Internet, 2025-05-26

---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants