]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
CI: Ignore THP disable warning for crossbuilds
authorMaria Matejka <mq@ucw.cz>
Fri, 27 Mar 2026 10:40:08 +0000 (11:40 +0100)
committerMaria Matejka <mq@ucw.cz>
Tue, 7 Apr 2026 09:50:51 +0000 (11:50 +0200)
Crossbuilds are run in qemu-user which doesn't support
disabling transparent huge pages.

.gitlab-ci.yml
gitlab/template.yml.j2

index 3978e953d14a500f1daca4f27a955ac541f22cdf..c61b754ddf7e7bb396b0b4bbd6191a8012db4eb4 100644 (file)
@@ -880,7 +880,7 @@ docker-ubuntu-25.10-amd64:
     # Build docs when tools are available
     - if which linuxdoc pdflatex sgmlsasp >/dev/null ; then $MAKE docs ; fi
     # Check that the reported version is the right one
-    - ${CROSS_RUN} ./bird --version |& tee obj/version-built
+    - ${CROSS_RUN} ./bird --version |& grep -v 'Cannot disable transparent huge pages' | tee obj/version-built
     - diff obj/version-built version-expected
 
 .build-docker-linux-amd64: &build-docker-linux-amd64
index aeaf8079d809effd3829fb6695149ffe36c08609..ee078a81857a50aab6556e190b32046404186b9c 100644 (file)
@@ -345,7 +345,7 @@ docker-{{ docker["name"] }}:
     # Build docs when tools are available
     - if which linuxdoc pdflatex sgmlsasp >/dev/null ; then $MAKE docs ; fi
     # Check that the reported version is the right one
-    - ${CROSS_RUN} ./bird --version |& tee obj/version-built
+    - ${CROSS_RUN} ./bird --version |& grep -v 'Cannot disable transparent huge pages' | tee obj/version-built
     - diff obj/version-built version-expected
 
 .build-docker-linux-amd64: &build-docker-linux-amd64