.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.
This commit is contained in:
parent
6bb12552e4
commit
e847c4ad75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user