Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mkosi for openSUSE:Factory checked 
in at 2024-08-01 22:05:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mkosi (Old)
 and      /work/SRC/openSUSE:Factory/.mkosi.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mkosi"

Thu Aug  1 22:05:59 2024 rev:19 rq:1190984 version:24.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mkosi/mkosi.changes      2024-06-20 
16:49:27.806406987 +0200
+++ /work/SRC/openSUSE:Factory/.mkosi.new.7232/mkosi.changes    2024-08-01 
22:06:45.378225697 +0200
@@ -1,0 +2,91 @@
+Thu Aug  1 13:29:36 UTC 2024 - Sebastian Wagner <se...@sebix.at>
+
+- remove env-shebang from /usr/lib/kernel/install.d/50-mkosi.install
+
+-------------------------------------------------------------------
+Tue Jul 30 12:16:44 UTC 2024 - Antonio Feijoo <antonio.fei...@suse.com>
+
+- Create new subpackage mkosi-initrd
+- Add file %{_prefix}/lib/mkosi-initrd/mkosi.conf
+
+-------------------------------------------------------------------
+Sun Jul 28 21:38:24 UTC 2024 - Fredrik Lönnegren <fredrik.lonneg...@suse.com>
+
+- Update to 24.3:
+  * Check for $HOME environment variable as well.
+
+- Update to 24.2:
+  * Look for $USER for the username before reading /etc/passwd
+
+- Update to 24.1:
+  * completion: fix bash completion script
+  * Add some documentation on how to implement a new distribution
+  * Add missing init.py to mkosi/initrd/resources
+  * Handle dangling symlinks in rmtree() and run_clean()
+  * Handle failure to detect the distribution in test_parse_config()
+
+- Update to 24:
+  * The default kernel command line of console=ttyS0 (or equivalent for
+    other architectures) has been removed. The required console=
+    argument to have the kernel output to the serial console has to be
+    added manually from v24 onwards.
+  * Support for installing local packages located in directories in
+    BuildSources= was dropped. Instead, the packages can be made
+    available for installation via PackageManagerTrees=.
+  * Configuration parsing was reworked to remove the need for the @
+    specifier and to streamline building multiple images with
+    mkosi.images/. If you were building multiple images with
+    mkosi.images/, you'll need to adapt your configuration to the
+    rework. Read the Building multiple images section in the
+    documentation for more information.
+  * mkosi has gained the option to generate completion scripts for bash,
+    fish and zsh. Packagers should generate the scripts during packaging
+    and ship them in the appropriate places.
+  * Added support for CentOS Stream 10.
+  * mkosi now installs a separate mkosi-initrd script that can be used
+    to build initramfs images intended for use on the local system.
+  * We do not automatically append centos-stream or fedora anymore to
+    CentOS (and derivatives) and Fedora mirrors specified with Mirror=
+    as not all mirrors store the repository metadata under these
+    subdirectories. Users are now required to add these subdirectories
+    themselves in Mirror=. If the EPEL repositories are enabled for
+    CentOS Stream (and derivatives) and Mirror= is used, we look for the
+    EPEL repositories in ../fedora relative to the mirror specified in
+    Mirror=.
+  * We now support compressed tar archives wherever we already accept tar
+    archives as input.
+  * We now always rerun the build if Format=none and don't remove
+    previous outputs in that case (unless --force is specified). This
+    allows using mkosi -t none to rerun the build scripts without
+    removing the previous image. This can then be combined with
+    RuntimeBuildSources=yes to make the build script outputs available
+    in a booted container or virtual machine so they can be installed
+    without having to rebuild the image.
+  * We now use virtconsole to provide the serial console when booting
+    with qemu.
+  * root=PARTUUID and mount.usr=PARTUUID on the kernel command line
+    are now automatically extended with the actual PARTUUID of the
+    corresponding partition.
+  * All available OpenSUSE repositories are now supported and can be
+    enabled with Repositories=.
+  * Building OpenSUSE aarch64 images is now supported
+  * mkosi dependencies was beefed up to handle more scenarios properly
+  * The default list of kernel modules that are always added to the
+    initramfs was extended with various virtualization modules.
+  * Added a Repositories= match.
+  * Cached images are now invalidated if packages specified via
+    PackageDirectories= change.
+  * Added VolatilePackageDirectories= which can be used to provide local
+    packages that do not invalidate cached images.
+  * mkosi.pkgmngr is now used as the default path for
+    PackageManagerTrees=.
+  * The package directory that build scripts can use to make built
+    packages available for installation ($PACKAGEDIR) is now shared
+    between all image builds. This means that packages built in earlier
+    images and stored in $PACKAGEDIR become available for installation
+    in all subsequent image builds.
+  * The default tools tree distribution is now chosen based on the host
+    distribution instead of the target distribution.
+  * mkosi can now be invoked from the initramfs.
+
+-------------------------------------------------------------------
@@ -781 +872 @@
-Mon Sep 26 06:08:52 UTC 2022 - Sebastian Wagner <sebix+novell....@sebix.at>
+Mon Sep 26 06:08:52 UTC 2022 - Sebastian Wagner <se...@sebix.at>
@@ -838 +929 @@
-Fri Dec  3 06:59:38 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at>
+Fri Dec  3 06:59:38 UTC 2021 - Sebastian Wagner <se...@sebix.at>
@@ -844 +935 @@
-Thu Nov 25 20:29:17 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at>
+Thu Nov 25 20:29:17 UTC 2021 - Sebastian Wagner <se...@sebix.at>
@@ -908 +999 @@
-Mon Feb 12 19:22:30 UTC 2018 - sebix+novell....@sebix.at
+Mon Feb 12 19:22:30 UTC 2018 - se...@sebix.at
@@ -915 +1006 @@
-Thu Jun 29 16:20:46 UTC 2017 - sebix+novell....@sebix.at
+Thu Jun 29 16:20:46 UTC 2017 - se...@sebix.at

Old:
----
  mkosi-23.1.tar.gz

New:
----
  mkosi-24.3.tar.gz
  mkosi-initrd.conf

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mkosi.spec ++++++
--- /var/tmp/diff_new_pack.3ykSsj/_old  2024-08-01 22:06:45.950249301 +0200
+++ /var/tmp/diff_new_pack.3ykSsj/_new  2024-08-01 22:06:45.950249301 +0200
@@ -19,13 +19,14 @@
 %define pythons python3
 
 Name:           mkosi
-Version:        23.1
+Version:        24.3
 Release:        0
 Summary:        Build bespoke OS Images
 License:        LGPL-2.1-or-later
 Group:          System/Management
 URL:            https://github.com/systemd/mkosi
 Source:         
https://github.com/systemd/mkosi/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source1:        mkosi-initrd.conf
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module wheel}
@@ -37,6 +38,7 @@
 Requires:       python3 >= 3.9
 Requires:       zypper
 Recommends:     btrfsprogs
+Recommends:     cpio
 Recommends:     dosfstools
 Recommends:     dpkg
 Recommends:     edk2-ovmf
@@ -61,12 +63,24 @@
 
 See https://mkosi.systemd.io/ for documentation.
 
+%package initrd
+Summary:        Build initrds locally using mkosi
+Requires:       %{name} = %{version}-%{release}
+Requires:       coreutils
+
+%description initrd
+This package provides the mkosi-initrd wrapper and a plugin for kernel-install
+to build initrds with mkosi locally. After the package is installed, the plugin
+can be enabled by writing 'initrd_generator=mkosi-initrd' to
+'/etc/kernel/install.conf'.
+
 %prep
 %autosetup -p1
 
 %build
 tools/make-man-page.sh
 %pyproject_wheel
+sed -i '1s/^#!\/usr\/bin\/env /#!\/usr\/bin\//' kernel-install/50-mkosi.install
 
 %install
 %pyproject_install
@@ -74,6 +88,26 @@
 
 mkdir -p %{buildroot}%{_mandir}/man1
 cp %{buildroot}%{python3_sitelib}/mkosi/resources/mkosi.1* 
%{buildroot}%{_mandir}/man1/
+cp %{buildroot}%{python3_sitelib}/mkosi/initrd/resources/mkosi-initrd.1* 
%{buildroot}%{_mandir}/man1/
+
+# Install the kernel-install plugin
+install -Dt %{buildroot}%{_prefix}/lib/kernel/install.d/ \
+         kernel-install/50-mkosi.install
+mkdir -p %{buildroot}%{_prefix}/lib/mkosi-initrd
+install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/mkosi-initrd/mkosi.conf
+mkdir -p %{buildroot}%{_sysconfdir}/mkosi-initrd
+
+%post initrd
+if [ ! -e %{_sysconfdir}/mkosi-initrd/mkosi.conf ]; then
+    cat >> %{_sysconfdir}/mkosi-initrd/mkosi.conf<<EOF
+# Write here your own configuration.
+# See man mkosi(1) for details.
+[Content]
+#ExtraTrees=
+#KernelModulesInclude=
+#KernelModulesExclude=
+EOF
+fi
 
 %check
 %pytest
@@ -86,3 +120,13 @@
 %{python3_sitelib}/mkosi
 %{python3_sitelib}/mkosi-%{version}.dist-info
 
+%files initrd
+%{_bindir}/mkosi-initrd
+%{_mandir}/man1/mkosi-initrd.1*
+%dir %{_prefix}/lib/kernel
+%dir %{_prefix}/lib/kernel/install.d
+%{_prefix}/lib/kernel/install.d/50-mkosi.install
+%dir %{_prefix}/lib/mkosi-initrd
+%{_prefix}/lib/mkosi-initrd/mkosi.conf
+%dir %{_sysconfdir}/mkosi-initrd
+

++++++ mkosi-23.1.tar.gz -> mkosi-24.3.tar.gz ++++++
++++ 8999 lines of diff (skipped)

++++++ mkosi-initrd.conf ++++++
[Content]
RemoveFiles=
        /etc/bash_completion.d
        /etc/man.conf
        /srv
        /usr/local/man
        /usr/share/bash-completion
        /usr/share/bash/helpfiles
        /usr/share/doc
        /usr/share/fillup-templates
        /usr/share/help
        /usr/share/icons
        /usr/share/info
        /usr/share/licenses
        /usr/share/locale
        /usr/share/man
        /usr/share/zsh
        /usr/etc/services
        /var/adm

        # Keep only C.utf-8 locale
        /usr/lib/locale/*_*/
        /usr/lib/locale/??/
        /usr/lib/locale/???/

        # RPM
        /etc/rpm
        /usr/bin/gendiff
        /usr/bin/rpm*
        /usr/lib/rpm
        /usr/lib/sysimage
        /usr/lib/systemd/system/rpmconfigcheck.service
        /usr/lib64/rpm-plugins
        /usr/sbin/rpmconfigcheck
        /usr/src/packages

        # Zypper
        /etc/zypp
        /usr/bin/installation_sources
        /usr/bin/yzpper
        /usr/bin/zypper
        /usr/etc/logrotate.d/zypp*
        /usr/lib/zypper
        /usr/sbin/zypp-refresh
        /usr/share/zypper
        /var/log/zypp
        /var/log/zypper.log

        # YaST2
        /etc/YaST2

        # suse-module-tools scripts (except unblacklist: bsc#1224320)
        /usr/lib/module-init-tools/driver-check.sh
        /usr/lib/module-init-tools/get_dracut_drivers
        /usr/lib/module-init-tools/lsinitrd-quick
        /usr/lib/module-init-tools/weak-modules2

        # dracut modules installed by other packages
        /usr/lib/dracut

Reply via email to