Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-03-14 20:28:37 +0200
committernl6720 <nl6720@gmail.com>2021-03-21 16:04:39 +0200
commite847c4ad75f562fad2d23ed387664a9a4d6ae8f1 (patch)
tree7113627bc4d25a4e0cf1fb5a155de574b498973a /.gitlab
parent6bb12552e4c5351bf5c7c839e75d6bb77c0f7cc6 (diff)
.gitlab/ci/build-host.sh: Do not upgrade packages with files in /usr/lib/modules/
Packages with files in /usr/lib/modules/ depend on the current kernel, thus they should not be updated.
Diffstat (limited to '.gitlab')
-rwxr-xr-x.gitlab/ci/build-host.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci/build-host.sh b/.gitlab/ci/build-host.sh
index 026d28f..c15bc14 100755
--- a/.gitlab/ci/build-host.sh
+++ b/.gitlab/ci/build-host.sh
@@ -140,7 +140,7 @@ function main() {
expect "# "
# Install required packages
- send "pacman -Syu --ignore linux --noconfirm --needed qemu-headless jq dosfstools e2fsprogs libisoburn mtools squashfs-tools zsync\n"
+ send "pacman -Fy && pacman -Syu --ignore \$(pacman -Fq --machinereadable /usr/lib/modules/ | awk 'BEGIN { FS = \"\\\0\";ORS=\",\" }; { print \$2 } ' | sort -ut , | head -c -2) --noconfirm --needed qemu-headless jq dosfstools e2fsprogs libisoburn mtools squashfs-tools zsync\n"
expect "# " 120
## Start build and copy output to local disk