]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
tasks.py: meson install requires elevation
authorromeroalx <alexis.romero@open-xchange.com>
Wed, 16 Apr 2025 10:24:14 +0000 (12:24 +0200)
committerromeroalx <alexis.romero@open-xchange.com>
Thu, 5 Jun 2025 13:25:37 +0000 (15:25 +0200)
tasks.py

index 97c47bb39ae3d902f43230bc76d5c82d0e5a3066..5346c07c24273a27e92facfebcda39079ce1a228 100644 (file)
--- a/tasks.py
+++ b/tasks.py
@@ -937,14 +937,14 @@ def ci_auth_install(c, meson=False):
 @task
 def ci_rec_install(c, meson=False):
     if meson:
-        c.run('meson install')
+        c.sudo(f"bash -c 'source {repo_home}/.venv/bin/activate && meson install'")
     else:
         c.run('make install')
 
 @task
 def ci_dnsdist_install(c, meson=False):
     if meson:
-        c.run('meson install')
+        c.sudo(f"bash -c 'source {repo_home}/.venv/bin/activate && meson install'")
     else:
         c.run('make install')