Skip to content

Commit

Permalink
Adjust package installation priority.
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Oct 13, 2023
1 parent 750db27 commit 3eea08e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3eea08e

Please sign in to comment.