From 500bdaf66d55ee0b4cd5b16c4412b8ea24814940 Mon Sep 17 00:00:00 2001 From: Felddy Date: Fri, 15 Mar 2024 11:34:49 -0400 Subject: [PATCH] Add hotfix for issue #697 - v11 database glibc workaround --- patches/hotfix_issue_697.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 patches/hotfix_issue_697.sh diff --git a/patches/hotfix_issue_697.sh b/patches/hotfix_issue_697.sh new file mode 100644 index 000000000..afb611c89 --- /dev/null +++ b/patches/hotfix_issue_697.sh @@ -0,0 +1,20 @@ +#!/bin/ash +# shellcheck shell=dash + +# Issue 697 Fix +# ===================== +# V11 Database glibc Workaround +# In upgrading to the new database engine for v11, some devices may experience +# an error related to an invalid version of glibc. This most notably affects ARM +# architecture devices, including some models of Raspberry Pi. + +PATCH_DOC_URL="https://github.com/felddy/foundryvtt-docker/issues/697" +PATCH_NAME="Fix for issue #697 - v11 database glibc workaround" + +log "Applying \"${PATCH_NAME}\"" +log "See: ${PATCH_DOC_URL}" + +apk add g++ make python3 +cd resources/app || exit +npm install classic-level --build-from-source +cd - || exit