From 3eea08e130f29b1a435c34d723364126ea3ea43c Mon Sep 17 00:00:00 2001 From: honjow Date: Sat, 14 Oct 2023 04:39:49 +0800 Subject: [PATCH] Adjust package installation priority. --- build-image.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-image.sh b/build-image.sh index f37fabf48..d66bdfc09 100755 --- a/build-image.sh +++ b/build-image.sh @@ -102,8 +102,8 @@ else pacman --noconfirm -S "${KERNEL_PACKAGE}" "${KERNEL_PACKAGE}-headers" fi -# install own override packages -pacman --noconfirm -U --overwrite '*' /own_pkgs/* +# install packages +pacman --noconfirm -S --overwrite '*' --disable-download-timeout ${PACKAGES} rm -rf /var/cache/pacman/pkg # delete packages @@ -115,8 +115,8 @@ for package in ${PACKAGES_TO_DELETE}; do fi done -# install packages -pacman --noconfirm -S --overwrite '*' --disable-download-timeout ${PACKAGES} +# install own override packages +pacman --noconfirm -U --overwrite '*' /own_pkgs/* rm -rf /var/cache/pacman/pkg # install AUR packages