From da52ceae4be96f1e9830b51c83ef137cf5150f2d Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 19 Mar 2022 09:10:34 +0100 Subject: [PATCH] pacman does not like " " with spaces --- usr/lib/archboot/container_functions | 2 +- usr/lib/archboot/repository_functions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/container_functions b/usr/lib/archboot/container_functions index 761c6b689..b5b317f81 100644 --- a/usr/lib/archboot/container_functions +++ b/usr/lib/archboot/container_functions @@ -126,7 +126,7 @@ _umount_special() { _install_base_packages() { echo "Installing packages ${_PACKAGES} to ${1} ..." - pacman --root "${1}" -Sy "${_PACKAGES}" --config "${_PACMAN_CONF}" --ignore systemd-resolvconf --noconfirm --cachedir "${_CACHEDIR}" >/dev/null 2>&1 + pacman --root "${1}" -Sy ${_PACKAGES} --config "${_PACMAN_CONF}" --ignore systemd-resolvconf --noconfirm --cachedir "${_CACHEDIR}" >/dev/null 2>&1 } _install_archboot() { diff --git a/usr/lib/archboot/repository_functions b/usr/lib/archboot/repository_functions index 90750ba4b..7d963ec18 100644 --- a/usr/lib/archboot/repository_functions +++ b/usr/lib/archboot/repository_functions @@ -19,7 +19,7 @@ _cachedir_check() { _download_packages() { echo "Downloading packages ${_PACKAGES} and ${_ARCHBOOT} to ${1} ..." - pacman --root "${1}" -Syw "${_PACKAGES}" "${_ARCHBOOT}" --ignore systemd-resolvconf --noconfirm --cachedir "${_CACHEDIR}" >/dev/null 2>&1 + pacman --root "${1}" -Syw ${_PACKAGES} ${_ARCHBOOT} --ignore systemd-resolvconf --noconfirm --cachedir "${_CACHEDIR}" >/dev/null 2>&1 } _aarch64_download_packages() {