2024-03-23 17:09:49 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
## SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
##
|
|
|
|
## SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
|
|
|
## TODO: Remove when template with patch reaches upstream or updates enforce
|
|
|
|
## salt-deps to be installed.
|
|
|
|
## https://github.com/QubesOS/qubes-issues/issues/8806
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
qube="${1}"
|
2024-07-09 11:42:07 -04:00
|
|
|
dnf_min_install="dnf -q install --refresh -y --setopt=install_weak_deps=False"
|
|
|
|
|
2024-03-23 17:09:49 -04:00
|
|
|
qvm-run --user=root --pass-io --filter-escape-chars --no-color-output \
|
2024-07-09 11:42:07 -04:00
|
|
|
--no-color-stderr "${qube}" -- "${dnf_min_install} python3-urllib3"
|