Add system certificate patch

This commit is contained in:
2025-10-02 14:52:40 +03:00
parent b8b22f3b16
commit 89a05bb6be
3 changed files with 22 additions and 1 deletions
+7
View File
@@ -2,6 +2,13 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
prepare() {
cd "$BPM_SOURCE"
# Use system certificates
sed -i '/certifi/d' setup.py
patch -p1 -i "$BPM_WORKDIR"/certs.patch
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {