boinc: fix can't open /proc/stat

Add procfs to boinc jail to allow access /proc/stat

Add test.sh to test boinc package

Signed-off-by: Hector Espert <hectorespertpardo@gmail.com>
This commit is contained in:
Hector Espert authored and Alexandru Ardelean committed 2026-06-05 07:36:16 +03:00
1 parent fe1c7d7c89
commit 3ea39aa5d7
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=boinc
PKG_VERSION:=8.2.11
PKG_VERSION_SHORT:=$(shell echo $(PKG_VERSION)| cut -f1,2 -d.)
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/BOINC/boinc
+1 -1
View File
@@ -49,7 +49,7 @@ start_service() {
procd_set_param stderr 1
procd_set_param pidfile $PID_FILE
procd_add_jail $BOINCEXE_NAME log requirejail
procd_add_jail $BOINCEXE_NAME log procfs requirejail
procd_add_jail_mount /etc/TZ
procd_add_jail_mount /proc/cpuinfo /proc/meminfo
procd_add_jail_mount /etc/ssl/certs/ca-certificates.crt
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
[ "$1" = "boinc" ] || exit 0
boinc_client --version 2>&1 | grep "$2"