]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! manager: fix packaging script
authorVasek Sraier <git@vakabus.cz>
Fri, 8 Apr 2022 13:37:36 +0000 (15:37 +0200)
committerVasek Sraier <git@vakabus.cz>
Sun, 10 Apr 2022 18:27:24 +0000 (20:27 +0200)
manager/scripts/make-package.sh

index 82d6e2c854d67d297bc2584c23cbd17b3bb07050..3b56c1f8184e821d4eb8813e380ed171a1c66da6 100644 (file)
@@ -17,7 +17,7 @@ function init_debian {
     apt-get update -qqq
 
     # apkg
-    apt-get install -y python3-pip meson git
+    apt-get install -y python3-pip meson git python3-venv
 }
 
 function init_fedora {
@@ -38,7 +38,10 @@ else
 fi
 
 # install apkg
-pip3 install apkg
+python3 -m pip install --user pipx
+python3 -m pipx ensurepath
+PATH="$PATH:/root/.local/bin"  # hack to make binaries installed with pipx work
+python3 -m pipx install apkg
 
 # prepare the repo
 git clone https://gitlab.nic.cz/knot/knot-resolver