mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
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:
committed by
Hannu Nyman
parent
43e090c8c1
commit
a17068dc88
+2
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user