fix: do not change kicksecure kernel by default

Fixes: https://github.com/ben-grande/qusal/issues/71
This commit is contained in:
Ben Grande 2024-06-24 08:32:29 +02:00
parent e2791139ee
commit 15711c912f
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
4 changed files with 3 additions and 35 deletions

View File

@ -71,7 +71,6 @@ if test "$1" = "1"; then
## Install
qubesctl state.apply kicksecure-minimal.create
qubesctl --skip-dom0 --targets=kicksecure-17-minimal state.apply kicksecure-minimal.install
qubesctl state.apply kicksecure-minimal.prefs
elif test "$1" = "2"; then
## Upgrade
true
@ -104,6 +103,9 @@ fi
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
%changelog
* Mon Jun 24 2024 Ben Grande <ben.grande.b@gmail.com> - 630641f
- fix: do not change kicksecure kernel by default
* Sat Jun 22 2024 Ben Grande <ben.grande.b@gmail.com> - a6194e0
- fix: remove cacher tag from Kicksecure template

View File

@ -22,7 +22,6 @@ on it.
sudo qubesctl top.enable kicksecure-minimal
sudo qubesctl --targets=kicksecure-17-minimal state.apply
sudo qubesctl top.disable kicksecure-minimal
sudo qubesctl state.apply kicksecure-minimal.prefs
```
- State:
@ -30,7 +29,6 @@ sudo qubesctl state.apply kicksecure-minimal.prefs
```sh
sudo qubesctl state.apply kicksecure-minimal.create
sudo qubesctl --skip-dom0 --targets=kicksecure-17-minimal state.apply kicksecure-minimal.install
sudo qubesctl state.apply kicksecure-minimal.prefs
```
<!-- pkg:end:post-install -->

View File

@ -1,22 +0,0 @@
{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{%- from "qvm/template.jinja" import load -%}
{%- import slsdotpath ~ "/template.jinja" as template -%}
include:
- .clone
{% load_yaml as defaults -%}
name: {{ template.template }}
force: True
require:
- sls: {{ slsdotpath }}.clone
prefs:
- kernel: pvgrub2-pvh
{%- endload %}
{{ load(defaults) }}

View File

@ -1,10 +0,0 @@
{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
base:
'dom0':
- match: nodegroup
- kicksecure-minimal.prefs