mirror of
https://github.com/ben-grande/qusal.git
synced 2025-01-11 15:39:40 -05:00
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:
parent
19ea24da5c
commit
a6194e0364
@ -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) }}
|
||||||
|
@ -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]
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user