diff options
| author | nl6720 <nl6720@gmail.com> | 2021-03-14 20:28:37 +0200 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2021-03-21 16:04:39 +0200 |
| commit | e847c4ad75f562fad2d23ed387664a9a4d6ae8f1 (patch) | |
| tree | 7113627bc4d25a4e0cf1fb5a155de574b498973a /.gitlab/ci/build-host.sh | |
| parent | 6bb12552e4c5351bf5c7c839e75d6bb77c0f7cc6 (diff) | |
| download | archiso-e847c4ad75f562fad2d23ed387664a9a4d6ae8f1.tar.gz archiso-e847c4ad75f562fad2d23ed387664a9a4d6ae8f1.tar.bz2 | |
.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/ci/build-host.sh')
| -rwxr-xr-x | .gitlab/ci/build-host.sh | 2 |
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 |
