boinc: resolve openwrt release

Allow boinc to read /etc/os-release to resolve openwrt version

Signed-off-by: Hector Espert <hectorespertpardo@gmail.com>
This commit is contained in:
Hector Espert
2026-05-23 22:35:07 +02:00
committed by Hannu Nyman
parent 43e090c8c1
commit a17068dc88
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=boinc PKG_NAME:=boinc
PKG_VERSION:=8.2.11 PKG_VERSION:=8.2.11
PKG_VERSION_SHORT:=$(shell echo $(PKG_VERSION)| cut -f1,2 -d.) PKG_VERSION_SHORT:=$(shell echo $(PKG_VERSION)| cut -f1,2 -d.)
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/BOINC/boinc PKG_SOURCE_URL:=https://github.com/BOINC/boinc
@@ -43,7 +43,7 @@ define Package/boinc/description
desktop computers. The developers' web site at the University of desktop computers. The developers' web site at the University of
Berkeley serves as a common portal to the otherwise independently run Berkeley serves as a common portal to the otherwise independently run
projects. projects.
This package provides the BOINC core client program that is This package provides the BOINC core client program that is
required to participate in any project that uses BOINC to control what required to participate in any project that uses BOINC to control what
projects to join and to determine constraints for the computation projects to join and to determine constraints for the computation
+1
View File
@@ -53,6 +53,7 @@ start_service() {
procd_add_jail_mount /etc/TZ procd_add_jail_mount /etc/TZ
procd_add_jail_mount /proc/cpuinfo /proc/meminfo procd_add_jail_mount /proc/cpuinfo /proc/meminfo
procd_add_jail_mount /etc/ssl/certs/ca-certificates.crt procd_add_jail_mount /etc/ssl/certs/ca-certificates.crt
procd_add_jail_mount /etc/os-release
procd_add_jail_mount $PRESETDIR procd_add_jail_mount $PRESETDIR
procd_add_jail_mount_rw $BOINCDIR procd_add_jail_mount_rw $BOINCDIR