summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-03-12 16:51:42 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2022-03-12 17:44:00 +0100
commit1c79c1a3d2e7f18c198492c8d7bdc18911f26c04 (patch)
tree6958d23ae52ab39e640acacf475b25c923a909f0 /utils
parent8d69ee5e7f5c0115a5db957f2016fee55d4b1ac1 (diff)
[LXC] fedora33 EOL [1], upgrade to fedora35 [2]
[1] https://docs.fedoraproject.org/en-US/releases/eol/ [2] https://docs.fedoraproject.org/en-US/releases/f35/ Tested by:: # build the container .. $ sudo -H ./utils/lxc.sh build searx-fedora35 # open a shell in the container $ sudo -H ./utils/lxc.sh cmd searx-fedora35 bash [root@searx-fedora35 SearXNG]# # install a complete SearXNG suite .. [root@searx-fedora35 SearXNG]# ./utils/searx.sh install all ... # install apache to export the SearXNG instance by HTTP [root@searx-fedora35 SearXNG]# ./utils/searx.sh apache install ... INFO: got 200 from http://10.174.184.94/searx To build wheel `python3-devel` needs to be added to SEARX_PACKAGES_fedora:: |searx| × Building wheel for setproctitle (pyproject.toml) did not run successfully. |searx| │ exit code: 1 ... |searx| In file included from src/spt.h:15, |searx| from src/setproctitle.c:14: |searx| src/spt_python.h:16:10: fatal error: Python.h: No such file or directory |searx| 16 | #include <Python.h> |searx| | ^~~~~~~~~~ |searx| compilation terminated. |searx| error: command '/usr/bin/gcc' failed with exit code 1 |searx| [end of output] ... |searx| ERROR: Failed building wheel for setproctitle Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rw-r--r--utils/lxc-searx.env2
-rwxr-xr-xutils/lxc.sh2
-rwxr-xr-xutils/searx.sh4
3 files changed, 4 insertions, 4 deletions
diff --git a/utils/lxc-searx.env b/utils/lxc-searx.env
index 6d9a48a4..f02f919e 100644
--- a/utils/lxc-searx.env
+++ b/utils/lxc-searx.env
@@ -26,7 +26,7 @@ lxc_set_suite_env() {
"$LINUXCONTAINERS_ORG_NAME:ubuntu/20.10" "ubu2010" # July 2021
# EOL see https://fedoraproject.org/wiki/Releases
- "$LINUXCONTAINERS_ORG_NAME:fedora/33" "fedora33"
+ "$LINUXCONTAINERS_ORG_NAME:fedora/35" "fedora35"
# rolling releases see https://www.archlinux.org/releng/releases/
"$LINUXCONTAINERS_ORG_NAME:archlinux" "archlinux"
diff --git a/utils/lxc.sh b/utils/lxc.sh
index ab96a99c..0b4e246d 100755
--- a/utils/lxc.sh
+++ b/utils/lxc.sh
@@ -51,7 +51,7 @@ echo 'Set disable_coredump false' >> /etc/sudo.conf
"
# shellcheck disable=SC2034
-fedora33_boilerplate="
+fedora35_boilerplate="
dnf update -y
dnf install -y git curl wget hostname
echo 'Set disable_coredump false' >> /etc/sudo.conf
diff --git a/utils/searx.sh b/utils/searx.sh
index 5ae9a6ad..ce118ed7 100755
--- a/utils/searx.sh
+++ b/utils/searx.sh
@@ -58,9 +58,9 @@ texlive-core texlive-latexextra ttf-dejavu"
# dnf packages
SEARX_PACKAGES_fedora="\
-python python-pip python-lxml python-babel
+python python-pip python-lxml python-babel python3-devel
uwsgi uwsgi-plugin-python3
-git @development-tools libxml2
+git @development-tools libxml2 openssl
ShellCheck"
BUILD_PACKAGES_fedora="\