Quoting "Dominique Leuenberger a.k.a. Dimstar" <dimstar@opensuse.org>:
Quoting Michael Catanzaro <mike.catanzaro@gmail.com>:
On Tue, 2013-02-19 at 00:20 +0100, Dominique Leuenberger wrote:
I would prefer to patch the application that writes the updates-prepared file... gnome-shell only verifies on that file and shows the menu accordingly... hiding it might in worst case cause some other effects to pop-up if somebody enables the systemd service... you never know :)
Dominique
PackageKit is what is creating the file of course. By default it is built with --enable-systemd --enable-systemd-updates, of which we don't want the latter. But when I build PackageKit with --disable-systemd-updates I get this error:
[ 436s] configure: error: conditional "HAVE_SYSTEMD" was never defined. [ 436s] Usually this means the macro was only invoked conditionally.
I don't know autoconf, but I'm pretty sure this is an error in upstream's configure.ac that needs fixed? Then HOPEFULLY that will stop creation of the prepared update file and we'll be good.
But I'm honestly not sure if that option will work as advertised or not. Looking at the PackageKit tree, it looks like that will disable all the code in contrib/systemd-updates, but I think the code that writes the file is in src/plugins/pk-plugin-systemd-updates.c and maybe it will run regardless, I'm not sure.
Thanks for finding the exact location and already digging into the issue. With your great pre-work, I created a PK package (currently building offline) with this disabled.
I expect the package to be submitted later today.
Fix submitted to GNOME:Factory for review: SR#155782. The patch has already been merged upstream. Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org