Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2014-10-06 22:04:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "PackageKit" Changes: -------- --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes 2014-09-23 17:16:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes 2014-10-06 22:04:39.000000000 +0200 @@ -1,0 +2,11 @@ +Sat Oct 4 12:31:13 UTC 2014 - dimstar@opensuse.org + +- Add PackageKit-offline-update.patch: + + Make packagekit-offline-update a static service. Users believe + by disabling the service, the feature would be disabled, when + in fact systemd still brings the user to the + system-update.target, but then doesn't perform any action, most + of all not removing the /system-update link, thus ending in a + loop. + +------------------------------------------------------------------- New: ---- PackageKit-offline-update.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit.spec ++++++ --- /var/tmp/diff_new_pack.caPi1i/_old 2014-10-06 22:04:40.000000000 +0200 +++ /var/tmp/diff_new_pack.caPi1i/_new 2014-10-06 22:04:40.000000000 +0200 @@ -34,6 +34,8 @@ Patch1: 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch # PATCH-FIX-UPSTREAM PackageKit-dbus-location.patch bnc#829944 dimstar@opensuse.org -- Look for dbus socket in /run instead of /var/run. Sent to upstream. Patch3: PackageKit-dbus-location.patch +# PATCH-FIX-UPSTREAM PackageKit-offline-update.patch dimstar@opensuse.org -- Make packagekit-offline-update a static service for system-update.target +Patch4: PackageKit-offline-update.patch BuildRequires: NetworkManager-devel BuildRequires: automake BuildRequires: docbook-utils @@ -232,6 +234,7 @@ %setup -q %patch1 -p1 %patch3 -p1 +%patch4 -p1 translation-update-upstream %build @@ -372,6 +375,8 @@ %if %{with_offline_updates} %{_libexecdir}/pk-offline-update %{_unitdir}/packagekit-offline-update.service +%dir %{_unitdir}/system-update.target.wants +%{_unitdir}/system-update.target.wants/packagekit-offline-update.service %{_sbindir}/rcpackagekit-offline-update %endif ++++++ PackageKit-offline-update.patch ++++++ diff --git a/data/Makefile.am b/data/Makefile.am index 99019c4..0722f43 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -40,6 +40,10 @@ install-data-hook: echo "Remove global read access for: $(DESTDIR)$(localstatedir)/lib/PackageKit/$$file"; \ chmod o-r $(DESTDIR)$(localstatedir)/lib/PackageKit/$$file; \ done +if HAVE_SYSTEMD + mkdir -p $(DESTDIR)$(systemdservicedir)/system-update.target.wants + ln -s ../packagekit-offline-update.service $(DESTDIR)$(systemdservicedir)/system-update.target.wants/packagekit-offline-update.service +endif EXTRA_DIST = \ org.freedesktop.PackageKit.conf.in \ diff --git a/data/packagekit-offline-update.service.in b/data/packagekit-offline-update.service.in index bff38d3..2bbf5e8 100644 --- a/data/packagekit-offline-update.service.in +++ b/data/packagekit-offline-update.service.in @@ -2,8 +2,5 @@ Description=Updates the operating system whilst offline OnFailure=reboot.target -[Install] -WantedBy=system-update.target - [Service] ExecStart=@libexecdir@/pk-offline-update -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org