Hello community,

here is the log from the commit of package systemd-presets-branding-CAASP for 
openSUSE:Factory checked in at 2017-12-12 21:21:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd-presets-branding-CAASP (Old)
 and      /work/SRC/openSUSE:Factory/.systemd-presets-branding-CAASP.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemd-presets-branding-CAASP"

Tue Dec 12 21:21:17 2017 rev:8 rq:556448 version:15.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/systemd-presets-branding-CAASP/systemd-presets-branding-CAASP.changes
    2017-12-09 20:25:18.603773277 +0100
+++ 
/work/SRC/openSUSE:Factory/.systemd-presets-branding-CAASP.new/systemd-presets-branding-CAASP.changes
       2017-12-12 21:21:20.475143936 +0100
@@ -1,0 +2,15 @@
+Tue Dec 12 11:51:59 CET 2017 - [email protected]
+
+- Copy new default-SUSE.preset
+- Cleanup 70-default-CAASP.preset
+
+-------------------------------------------------------------------
+Mon Dec 11 16:17:30 CET 2017 - [email protected]
+
+- If we do a fresh installation, call systemctl preset-all in the
+  %posttrans section. Some services need to be installed before
+  systemd or do not strictly require systemd, so systemd would only
+  be installed after them and the systemd units of this package
+  never enabled.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ systemd-presets-branding-CAASP.spec ++++++
--- /var/tmp/diff_new_pack.KGWHbh/_old  2017-12-12 21:21:21.647087361 +0100
+++ /var/tmp/diff_new_pack.KGWHbh/_new  2017-12-12 21:21:21.651087168 +0100
@@ -55,6 +55,7 @@
 install -m644 %{SOURCE0}  %{buildroot}/usr/lib/systemd/system-preset/
 install -m644 %{SOURCE1}  %{buildroot}/usr/lib/systemd/system-preset/
 # Copy default presets and script
+install -m644 /usr/lib/systemd/system-preset/90-default-SUSE.preset 
%{buildroot}/usr/lib/systemd/system-preset/
 install -m644 /usr/lib/systemd/system-preset/90-default-%theme.preset 
%{buildroot}/usr/lib/systemd/system-preset/
 install -m755  %{_prefix}/lib/%{generic_name}/branding-preset-states 
%{buildroot}%{_prefix}/lib/%{generic_name}/
 
@@ -69,6 +70,8 @@
         # Note: the old version of the script is used here.
         #
         %{_prefix}/lib/%{generic_name}/branding-preset-states save
+elif [ $1 -eq 1 ]; then
+  touch /run/rpm-%{name}-preset-all
 fi
 
 %post
@@ -80,6 +83,15 @@
         %{_prefix}/lib/%{generic_name}/branding-preset-states apply-changes
 fi
 
+%posttrans
+if [ -f /run/rpm-%{name}-preset-all ]; then
+  # Enable all services, which were installed before systemd
+  # Don't disable services, since this would disable the
+  # complete network stack.
+  systemctl preset-all --preset-mode=enable-only
+fi
+rm -f /run/rpm-%{name}-preset-all
+
 %files
 %defattr(-,root,root)
 %{_prefix}/lib/%{generic_name}/

++++++ 70-default-CAASP.preset ++++++
--- /var/tmp/diff_new_pack.KGWHbh/_old  2017-12-12 21:21:21.675086010 +0100
+++ /var/tmp/diff_new_pack.KGWHbh/_new  2017-12-12 21:21:21.675086010 +0100
@@ -1,12 +1,6 @@
-enable apparmor.service
-enable audit.service
-enable ca-certificates.path
-enable ca-certificates.service
-enable logrotate.timer
 enable transactional-update.timer
 enable rebootmgr.service
 enable issue-add-ssh-keys.service
-enable issue-generator.service
 enable sshd.service
 enable adjust-cloud-cfg.service
 enable cloud-config.service


Reply via email to