fix: remove cacher tag from Kicksecure template

Running apt-cacher-ng-repo is during update is unnecessary, the
install-repo macro already does it and the systemd service is run on
boot before Qrexec Agent starts.

Fixes: https://github.com/ben-grande/qusal/issues/66
This commit is contained in:
Ben Grande 2024-06-22 12:14:36 +02:00
parent 19ea24da5c
commit a6194e0364
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
3 changed files with 3 additions and 9 deletions

View File

@ -54,8 +54,5 @@ features:
- appmenus-dispvm - appmenus-dispvm
- set: - set:
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop" - menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop"
tags:
- add:
- updatevm-sys-cacher
{%- endload %} {%- endload %}
{{ load(defaults) }} {{ load(defaults) }}

View File

@ -6,6 +6,9 @@
Description=Dynamically write repository definitions for use of apt-cacher-ng Description=Dynamically write repository definitions for use of apt-cacher-ng
After=qubes-misc-post.service After=qubes-misc-post.service
After=qubes-sysinit.service After=qubes-sysinit.service
## Run before Qrexec call (Salt, user on terminal, automatic update check)
## tries to update the package index.
Before=qubes-qrexec-agent.service
Before=qubes-update-check.service Before=qubes-update-check.service
[Service] [Service]

View File

@ -4,12 +4,6 @@ SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later SPDX-License-Identifier: AGPL-3.0-or-later
#} #}
{% if salt['cmd.retcode']('command -v apt-cacher-ng-repo >/dev/null') == 0 -%}
"common-update-run-apt-cacher-ng-repo":
cmd.run:
- name: apt-cacher-ng-repo
{% endif -%}
"common-updated": "common-updated":
pkg.uptodate: pkg.uptodate:
- refresh: True - refresh: True