From d6fc0d972d173697fcbb16015407d30d5ac7573d46e801b48956d094cfb2c335 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 20 Nov 2023 21:18:07 +0000 Subject: [PATCH] Accepting request 1127786 from home:flonnegren:branches:Virtualization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mon Nov 20 09:21:06 UTC 2023 - Fredrik Lönnegren - update to v19: * Support for RHEL was added! * Added journalctl and coredumpctl verbs for running the respective tools on built directory or disk images. * Added a burn verb to write the output image to a block device. * Added a new esp output format, which is large similar to the existing uki output format but wraps it in a disk image with only an ESP. * 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. * 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. * mkosi will now parse mkosi.local.conf before any other config files if that exists. * Added a kernel-install plugin. This is only shipped in source tree and not included in the Python module. * 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. * 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. * Added WithRecommends= to configure whether to install recommended packages by default or not where this is supported. It is disabled by default. * Added ToolsTreeMirror= setting for configuring 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 environment variable MKOSI_DNF to override which dnf to use for building images (dnf or dnf5). * 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). * Added a new doc on building rpms from source with mkosi (docs/building-rpms-from-source.md). * /etc/resolv.conf will now only be mounted for scripts when they are run with network access. OBS-URL: https://build.opensuse.org/request/show/1127786 OBS-URL: https://build.opensuse.org/package/show/Virtualization/mkosi?expand=0&rev=19 --- mkosi-18.tar.gz | 3 --- mkosi-19.tar.gz | 3 +++ mkosi.changes | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ mkosi.spec | 2 +- 4 files changed, 74 insertions(+), 4 deletions(-) delete mode 100644 mkosi-18.tar.gz create mode 100644 mkosi-19.tar.gz diff --git a/mkosi-18.tar.gz b/mkosi-18.tar.gz deleted file mode 100644 index 73547e5..0000000 --- a/mkosi-18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d66c9d28f42612b728ccafb459e261a4dec408f2346edfa4795bcd1916d4c345 -size 147420 diff --git a/mkosi-19.tar.gz b/mkosi-19.tar.gz new file mode 100644 index 0000000..acd93db --- /dev/null +++ b/mkosi-19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69035c8463ee895a437366fc795a9563692a0dacc58e3ad22c3e7cec52fc2e87 +size 163864 diff --git a/mkosi.changes b/mkosi.changes index f3bf10c..24f4dff 100644 --- a/mkosi.changes +++ b/mkosi.changes @@ -1,3 +1,73 @@ +------------------------------------------------------------------- +Mon Nov 20 09:21:06 UTC 2023 - Fredrik Lönnegren +- update to v19: + * Support for RHEL was added! + * Added journalctl and coredumpctl verbs for running the respective tools on + built directory or disk images. + * Added a burn verb to write the output image to a block device. + * Added a new esp output format, which is large similar to the existing uki + output format but wraps it in a disk image with only an ESP. + * 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. + * 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. + * mkosi will now parse mkosi.local.conf before any other config files if that + exists. + * Added a kernel-install plugin. This is only shipped in source tree and not + included in the Python module. + * 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. + * 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. + * Added WithRecommends= to configure whether to install recommended packages + by default or not where this is supported. It is disabled by default. + * Added ToolsTreeMirror= setting for configuring 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 environment variable MKOSI_DNF to override which dnf to use for + building images (dnf or dnf5). + * 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). + * Added a new doc on building rpms from source with mkosi + (docs/building-rpms-from-source.md). + * /etc/resolv.conf will now only be mounted for scripts when they are run + with network access. + ------------------------------------------------------------------- Sat Nov 18 13:17:19 UTC 2023 - Sebastian Wagner diff --git a/mkosi.spec b/mkosi.spec index 1afe23f..0d8a251 100644 --- a/mkosi.spec +++ b/mkosi.spec @@ -19,7 +19,7 @@ %define pythons python3 Name: mkosi -Version: 18 +Version: 19 Release: 0 Summary: Build Legacy-Free OS Images License: LGPL-2.1-or-later