boinc: resolve openwrt release
authorHector Espert <redacted>
Sat, 23 May 2026 20:35:07 +0000 (22:35 +0200)
committerHannu Nyman <redacted>
Sun, 24 May 2026 12:30:27 +0000 (15:30 +0300)
Allow boinc to read /etc/os-release to resolve openwrt version

Signed-off-by: Hector Espert <redacted>
net/boinc/Makefile
net/boinc/files/boinc-client.init

index 0770744f722a4b7ac92907cff0c5f0467bdf1dbd..dc740c112280e2d629054ea0cf0efe3d5f6f2d25 100644 (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:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 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
   Berkeley serves as a common portal to the otherwise independently run
   projects.
+
   This package provides the BOINC core client program that is
   required to participate in any project that uses BOINC to control what
   projects to join and to determine constraints for the computation
index 50252d0f38d0bfc49b321c3f8ec05a2370b6446c..f9065a37b2ada5c5b5d2a18177dfbdf62273eaac 100755 (executable)
@@ -53,6 +53,7 @@ start_service() {
    procd_add_jail_mount /etc/TZ
    procd_add_jail_mount /proc/cpuinfo /proc/meminfo
    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_rw $BOINCDIR
 
git clone https://git.99rst.org/PROJECT