Problem: Unable to use pkg.install with Salt in dom0 when using UpdateVM that has only yum due to incorrect options passed by Salt assuming dnf presence
Solution: Filter out invalid yum options when dnf is not found in UpdateVM Fixes QubesOS/qubes-issues#2223
这个提交包含在:
父节点
7fa3c51fd2
当前提交
cd26354945
@ -53,6 +53,9 @@ fi
|
||||
YUM="yum"
|
||||
if type dnf >/dev/null 2>&1; then
|
||||
YUM="dnf --best --allowerasing --noplugins"
|
||||
else
|
||||
# salt in dom0 thinks it's using dnf but we only have yum so need to remove extra options
|
||||
OPTS="${OPTS/--best --allowerasing/}"
|
||||
fi
|
||||
|
||||
if ! [ -d "$DOM0_UPDATES_DIR" ]; then
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户