Skip to content

Commit 136e796

Browse files
authored
Merge pull request #336 from jmtd/OPENJDK-1336-microdnf-update-weak-deps-ubi9
[OPENJDK-1336] ensure microdnf update install_weak_deps=0
2 parents 4b3717c + 0bbe29b commit 136e796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/util/pkg-update/execute.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
for candidate in yum dnf microdnf; do
55
if command -v "$candidate"; then
66
mgr="$(command -v "$candidate")"
7-
"$mgr" update -y
7+
"$mgr" update --setopt=install_weak_deps=0 --setopt=tsflags=nodocs -y
88
"$mgr" -y clean all
99
exit
1010
fi

0 commit comments

Comments
 (0)