Skip to content

Commit 9d204ab

Browse files
committed
Skip dependency checks for archlinux-keyring
Now that archlinux-keyring depends on pacman we are not able to install it with "pacman -U"; it needs two --nodeps options to ignore the pacman dependency. Passing "-dd" to the pacstrap call treats it as an argument to pacman itself.
1 parent 7768f33 commit 9d204ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repro.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ __END__
433433
# shellcheck disable=SC2086
434434
keyring=$(printf -- '%s\n' ${packages[*]} | grep -E "archlinux-keyring")
435435
EPHEMERAL=1 exec_nspawn root --bind="${build_root_dir}:/mnt" --bind="$(readlink -e "${cachedir}"):/cache" bash -c \
436-
'pacstrap -U /mnt "$@"' -bash "${keyring}" &>/dev/null
436+
'pacstrap -U /mnt -dd "$@"' -bash "${keyring}" &>/dev/null
437437

438438
mkdir -p "$KEYRINGCACHE/$keyring_package"
439439
trap "{ rm -rf $KEYRINGCACHE/$keyring_package ; exit 1; }" ERR INT

0 commit comments

Comments
 (0)