Skip to content

Commit

Permalink
Make gnome-software work a bit better in a template
Browse files Browse the repository at this point in the history
Set GIO_USE_NETWORK_MONITOR=base variable to avoid gnome-software
refusing any actual action just because it thinks online repositories
are unreachable (they are, via updates proxy).

This doesn't solve all the issues, but at least makes it possible to
install applications.

QubesOS/qubes-issues#6310
  • Loading branch information
marmarek committed Oct 10, 2023
1 parent e148214 commit 331e757
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/qubes-core-agent.install
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ usr/bin/qvm-open-in-vm
usr/bin/qvm-run-vm
usr/bin/qvm-connect-tcp
usr/bin/qvm-sync-clock
usr/lib/environment.d/60-gnome-software-fix.conf
usr/lib/python3/dist-packages/qubesagent-*.egg-info/*
usr/lib/python3/dist-packages/qubesagent/*
usr/lib/qubes-bind-dirs.d/30_cron.conf
Expand Down
2 changes: 2 additions & 0 deletions package-managers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ install:
install -d -m 2775 $(DESTDIR)$(QUBESSTATEDIR)/dom0-updates
install -D -m 0644 dnf-plugin-downloadurl.py \
$(DESTDIR)$(QUBESLIBDIR)/dnf-plugins/downloadurl.py
install -D -m 0644 gnome-software-fix.conf \
$(DESTDIR)/usr/lib/environment.d/60-gnome-software-fix.conf

install-apt:
install -d $(DESTDIR)$(APTCONFDIR)/sources.list.d
Expand Down
1 change: 1 addition & 0 deletions package-managers/gnome-software-fix.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GIO_USE_NETWORK_MONITOR=base
1 change: 1 addition & 0 deletions rpm_spec/core-agent.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ rm -f %{name}-%{version}
/usr/lib/qubes/set-default-text-editor
/usr/lib/qubes/tinyproxy-wrapper
/usr/lib/dracut/dracut.conf.d/30-qubes.conf
/usr/lib/environment.d/60-gnome-software-fix.conf
%dir /usr/lib/qubes/init
/usr/lib/qubes/init/bind-dirs.sh
/usr/lib/qubes/init/control-printer-icon.sh
Expand Down

0 comments on commit 331e757

Please sign in to comment.