Skip to content

Commit

Permalink
NEWS: add periods to sentences, order by subject
Browse files Browse the repository at this point in the history
This is always a bit subjective, but I find a NEWS file much easier to read if
it's thematically organized. I think support for a new distro is important, so
put that first, then new verbs and options, then new configuration features,
and then all the other smaller changes.
  • Loading branch information
keszybz committed Nov 15, 2023
1 parent 397ca3c commit 1704398
Showing 1 changed file with 43 additions and 44 deletions.
87 changes: 43 additions & 44 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,68 @@

## v19

- The mkosi repository itself now ships configuration to build basic
bootable images that can be used to test mkosi.
- Added RHEL support
- Added support for enabling `updates-testing` repositories for Fedora
- Support for RHEL was added!
- Added `journalctl` and `coredumpctl` verbs for running the respective
tools on built directory or disk images.
- Added a `--json` option to get the output of `mkosi summary` as JSON.
- Added shorthand `-a` for `--autologin`.
- Scripts with the `.chroot` extension are now executed in the image
automatically.
- The rootfs can now be modified when running build scripts (with all
changes thrown away after the last build script has been executed)
- GPG keys for CentOS, Fedora, Alma and Rocky are now looked up locally
first before fetching them remotely.
- Added `WithRecommends=` to configure whether to install recommended
packages by default or not where this is supported.
- Signatures are not required for local packages on Arch anymore
- The tar output is now reproducible
- Packages on opensuse are now always downloaded in advance before
installation when using zypper
- Added shorthand `-a` for `--autologin`
- Added `ToolsTreeMirror=` setting for confuring the mirror to use for
the default tools tree
- We now make sure git can be executed from mkosi scripts without
running into permission errors
- `WithDocs=` is now enabled by default.
- Added `rpm` helper script to have `rpm` automatically operate on the
image when running scripts.
- Added `mkosi-as-caller` helper script that can be used in scripts to
run commands as the user invoking mkosi.
- `mkosi-chroot` will now start a shell if no arguments are specified.
- `Presets` were renamed to `Images`. `mkosi.images/` is now used
instead of `mkosi.presets/`, the `Presets=` setting was renamed
to `Images=` and the `Presets` section was merged into the `Config`
section. The old names can still be used for backwards
compatibility.
section. The old names can still be used for backwards compatibility.
- Added profiles to support building variants of the same image in one
repository. Profiles can be defined in `mkosi.profiles/` and one can
be selected using the new `Profile=` setting.
- Added a `--json` option to get the output of `mkosi summary` as JSON.
- We now automatically configure the qemu firmware, kernel cmdline and
initrd based on what type of kernel is passed by the user via
`-kernel` or `QemuKernel=`
- We don't create subdirectories beneath the configured cache directory
anymore.
- mkosi will now parse `mkosi.local.conf` before any other config files
if that exists.
- Added `WithRecommends=` to configure whether to install recommended
packages by default or not where this is supported.
- Added `ToolsTreeMirror=` setting for confuring the mirror to use for
the default tools tree.
- `WithDocs=` is now enabled by default.
- Added `BuildSourcesEphemeral=` to make source directories ephemeral
when running scripts. This means any changes made to source
directories while running scripts will be undone after the scripts
have finished executing.
- Added `QemuDrives=` to have mkosi create extra qemu drives and pass
them to qemu when using the `qemu` verb.
- Added `BuildSources=` match to match against configured build source
targets.
- `PackageManagerTrees=` was moved to the `Distribution` section.
- We now automatically configure the qemu firmware, kernel cmdline and
initrd based on what type of kernel is passed by the user via
`-kernel` or `QemuKernel=`.
- The mkosi repository itself now ships configuration to build basic
bootable images that can be used to test mkosi.
- Added support for enabling `updates-testing` repositories for Fedora.
- GPG keys for CentOS, Fedora, Alma and Rocky are now looked up locally
first before fetching them remotely.
- Signatures are not required for local packages on Arch anymore.
- Packages on opensuse are now always downloaded in advance before
installation when using zypper.
- The tar output is now reproducible.
- We now make sure `git` can be executed from mkosi scripts without
running into permission errors.
- We don't create subdirectories beneath the configured cache directory
anymore.
- Workspace directories are now created outside of any source
directories. mkosi will either use `XDG_CACHE_HOME`, `$HOME/.cache` or
`/var/tmp` depending on the situation.
- Added a new doc on building rpms from source with mkosi
(`docs/building-rpms-from-source.md`)
- Added `rpm` script to have `rpm` automatically operate on the image
when running scripts
- Added `journalctl` and `coredumpctl` verbs for running the respective
tools on built directory or disk images
- Added environment variable `MKOSI_DNF` to override which dnf to use
for building images (`dnf` or `dnf5`).
- Added `mkosi-as-caller` helper script that can be used in scripts to
run commands as the user invoking mkosi
- `mkosi-chroot` will now start a shell if no arguments are specified
- Added `BuildSources=` match to match against configured build source
targets
- mkosi will now parse `mkosi.local.conf` before any other config files
if it exists.
- The rootfs can now be modified when running build scripts (with all
changes thrown away after the last build script has been executed).
- mkosi now fails if configuration specified via the CLI does not apply
to any image (because it is overridden).
- `PackageManagerTrees=` was moved to the `Distribution` section.
- Added `QemuDrives=` to have mkosi create extra qemu drives and pass
them to qemu when using the `qemu` verb.
- Added a new doc on building rpms from source with mkosi
(`docs/building-rpms-from-source.md`).

## v18

Expand Down

0 comments on commit 1704398

Please sign in to comment.