Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package systemd for openSUSE:Factory checked in at 2023-01-31 16:08:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd (Old)
and /work/SRC/openSUSE:Factory/.systemd.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd"
Tue Jan 31 16:08:28 2023 rev:378 rq:1062012 version:252.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/systemd/systemd.changes 2023-01-25 18:00:26.481594366 +0100
+++ /work/SRC/openSUSE:Factory/.systemd.new.32243/systemd.changes 2023-01-31 16:21:39.178119959 +0100
@@ -1,0 +2,24 @@
+Mon Jan 30 08:39:24 UTC 2023 - Franck Bui
+
+- Import commit d87834a33444b7163e741e1089e82b44af663808 (merge of v252.5)
+
+ For a complete list of changes, visit:
+ https://github.com/openSUSE/systemd/compare/5a506d73bde7ba9261985f8e9ce08404...
+
+-------------------------------------------------------------------
+Thu Jan 26 16:30:41 UTC 2023 - Franck Bui
+
+- Move the bash completion support for systemd-cryptenroll in udev.
+
+-------------------------------------------------------------------
+Thu Jan 26 16:13:43 UTC 2023 - Franck Bui
+
+- systemd-testsuite: move the integration tests in a dedicated sub directory.
+
+-------------------------------------------------------------------
+Thu Jan 26 14:02:11 UTC 2023 - Franck Bui
+
+- machines.target belongs to systemd-container, do its init/cleanup steps from
+ the scriptlets of this sub-package.
+
+-------------------------------------------------------------------
Old:
----
systemd-v252.4+suse.44.g5a506d73bd.tar.xz
New:
----
systemd-v252.5+suse.46.gd87834a334.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.bwLssG/_old 2023-01-31 16:21:40.662128902 +0100
+++ /var/tmp/diff_new_pack.bwLssG/_new 2023-01-31 16:21:40.662128902 +0100
@@ -19,7 +19,7 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define min_kernel_version 4.5
-%define archive_version +suse.44.g5a506d73bd
+%define archive_version +suse.46.gd87834a334
%define _testsuitedir /usr/lib/systemd/tests
%define xinitconfdir %{?_distconfdir}%{!?_distconfdir:%{_sysconfdir}}/X11/xinit
@@ -72,7 +72,7 @@
Name: systemd%{?mini}
URL: http://www.freedesktop.org/wiki/Software/systemd
-Version: 252.4
+Version: 252.5
Release: 0
Summary: A System and Session Manager
License: LGPL-2.1-or-later
@@ -557,24 +557,24 @@
Requires: xz
%description testsuite
-This package contains the unit tests as well as the extended
-testsuite. The unit tests are used to check various internal functions
-used by systemd whereas the extended testsuite is used to test various
-functionalities of systemd and all its components.
+This package contains the unit tests as well as the extended testsuite. The unit
+tests are used to check various internal functions used by systemd whereas the
+extended testsuite is used to test various functionalities of systemd and all
+its components.
-Note that the extended testsuite only works with UID=0.
+Note that you need root privileges to run the extended testsuite.
Run the following python script to run all unit tests at once:
$ %{_testsuitedir}/run-unit-tests.py
To run the full extended testsuite do the following:
-$ NO_BUILD=1 TEST_NESTED_VM=1 %{_testsuitedir}/test/run-integration-tests.sh
+$ NO_BUILD=1 TEST_NESTED_VM=1 %{_testsuitedir}/integration-tests/run-integration-tests.sh
Or to run one specific integration test:
-$ NO_BUILD=1 TEST_NESTED_VM=1 make -C %{_testsuitedir}/test/TEST-01-BASIC clean setup run
+$ NO_BUILD=1 TEST_NESTED_VM=1 make -C %{_testsuitedir}/integration-tests/TEST-01-BASIC clean setup run
-For more details on the available options to run the extended
-testsuite, please refer to %{_testsuitedir}/test/README.testsuite.
+For more details on the available options to run the extended testsuite, please
+refer to %{_testsuitedir}/integration-tests/README.testsuite.
%endif
%if %{with experimental}
@@ -942,14 +942,18 @@
rm -f %{buildroot}%{_unitdir}/sockets.target.wants/systemd-journald-audit.socket
%if %{with testsuite}
-cp -a test %{buildroot}%{_testsuitedir}/
-# When the tests are installed, the effective testdata directory is in
-# %{_testsuitedir}, the other one, which is actually a symlink, is only useful
-# when the tests are run directly from the source.
-rm %{buildroot}%{_testsuitedir}/test/testdata
-# kbd-model-map became a dangling symlink, drop it.
-rm %{buildroot}%{_testsuitedir}/test/test-keymap-util/kbd-model-map
-find %{buildroot}%{_testsuitedir}/ -name .git\* -exec rm -fr {} \;
+# -Dinstall_test took care of installing the unit tests only (those in
+# src/tests) and testdata directory. Here we copy the integration tests
+# including also all related scripts used to prepare and run the integration
+# tests in dedicated VMs. During the copy, all symlinks are replaced by the
+# files they point to making sure we won't try to embed dangling symlinks.
+mkdir -p %{buildroot}%{_testsuitedir}/integration-tests
+tar -cO \
+ --dereference \
+ --exclude=testdata \
+ --exclude-vcs \
+ --exclude-vcs-ignores \
+ -C test/ . | tar -xC %{buildroot}%{_testsuitedir}/integration-tests
%endif
%if %{without bootstrap}
@@ -962,7 +966,6 @@
%pre
# Units listed below can be enabled at installation according to their preset
# setting.
-%systemd_pre machines.target
%systemd_pre remote-fs.target
%systemd_pre getty@.service
%systemd_pre systemd-timesyncd.service
@@ -1022,7 +1025,6 @@
# Units listed below can be enabled at installation accoding to their preset
# setting.
-%systemd_post machines.target
%systemd_post remote-fs.target
%systemd_post getty@.service
%systemd_post systemd-timesyncd.service
@@ -1136,7 +1138,11 @@
%postun -n libudev%{?mini}1 -p %ldconfig
%postun -n libsystemd0%{?mini} -p %ldconfig
+%pre container
+%systemd_pre machines.target
+
%post container
+%systemd_post machines.target
%tmpfiles_create systemd-nspawn.conf
%if %{with machined}
%ldconfig
@@ -1157,7 +1163,11 @@
%{_prefix}/lib/systemd/scripts/fix-machines-btrfs-subvol.sh || :
fi
+%preun container
+%systemd_preun machines.target
+
%postun container
+%systemd_postun machines.target
%ldconfig
%endif
@@ -1381,7 +1391,7 @@
%if %{with testsuite}
%files testsuite
%defattr(-,root,root)
-%doc %{_testsuitedir}/test/README.testsuite
+%doc %{_testsuitedir}/integration-tests/README.testsuite
%{_testsuitedir}
%endif
++++++ files.systemd ++++++
--- /var/tmp/diff_new_pack.bwLssG/_old 2023-01-31 16:21:40.922130468 +0100
+++ /var/tmp/diff_new_pack.bwLssG/_new 2023-01-31 16:21:40.926130493 +0100
@@ -137,7 +137,6 @@
%{_datadir}/bash-completion/completions/systemd-cat
%{_datadir}/bash-completion/completions/systemd-cgls
%{_datadir}/bash-completion/completions/systemd-cgtop
-%{_datadir}/bash-completion/completions/systemd-cryptenroll
%{_datadir}/bash-completion/completions/systemd-delta
%{_datadir}/bash-completion/completions/systemd-detect-virt
%{_datadir}/bash-completion/completions/systemd-id128
++++++ files.udev ++++++
--- /var/tmp/diff_new_pack.bwLssG/_old 2023-01-31 16:21:40.970130758 +0100
+++ /var/tmp/diff_new_pack.bwLssG/_new 2023-01-31 16:21:40.982130830 +0100
@@ -28,6 +28,7 @@
%{_bindir}/systemd-hwdb
%{_bindir}/udevadm
%if %{without bootstrap}
+%{_datadir}/bash-completion/completions/systemd-cryptenroll
%{_datadir}/bash-completion/completions/udevadm
%endif
%{_datadir}/pkgconfig/udev.pc
++++++ systemd-v252.4+suse.44.g5a506d73bd.tar.xz -> systemd-v252.5+suse.46.gd87834a334.tar.xz ++++++
/work/SRC/openSUSE:Factory/systemd/systemd-v252.4+suse.44.g5a506d73bd.tar.xz /work/SRC/openSUSE:Factory/.systemd.new.32243/systemd-v252.5+suse.46.gd87834a334.tar.xz differ: char 26, line 1