add bluetooth-meshd configuration
authorKidong Kim <kd0228.kim@samsung.com>
Mon, 8 Jun 2020 06:23:10 +0000 (15:23 +0900)
committerKidong Kim <kd0228.kim@samsung.com>
Mon, 8 Jun 2020 06:23:10 +0000 (15:23 +0900)
config/set_capability
test/new_service_test/target/common/systemd_service.list
test/new_service_test/target/iot/systemd_service.list
test/new_service_test/target/mobile/systemd_service.list
test/new_service_test/target/tv/systemd_service.list
test/new_service_test/target/wearable/systemd_service.list

index 6a1e82065c154955950eaa7b13a833d9776dc347..2d7bf7a0bf7d7e11cd06f85877ea539789857c89 100755 (executable)
@@ -621,6 +621,18 @@ if [ -e "/usr/libexec/bluetooth/bluetoothd" ]
 then /usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_net_raw,cap_dac_override=ei /usr/libexec/bluetooth/bluetoothd
 fi
 
+# Package               platform/upstream/bluez
+# Owner                 Dohyun Pyun(dh79.pyun@samsung.com)
+# Date                  Jun 08, 2020
+# Required              cap_dac_override, cap_net_admin, cap_net_bind_service
+# cap_dac_override     to access bridge device
+# cap_net_admin                to use network-related operations
+# cap_net_bind_service to call bind
+
+if [ -e "/usr/libexec/bluetooth/bluetooth-meshd" ]
+then /usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_dac_override=ei /usr/libexec/bluetooth/bluetooth-meshd
+fi
+
 # Package               platform/core/system/dlog
 # Owner                 Hyotaek Shim(hyotaek.shim@samsung.com)
 # Date                  Dec 22, 2017
index 0e8f122550b0f95d848451cca5af93e27dba166f..f15ee3f35f9249084f47abdaabc8665a1e173cab 100644 (file)
@@ -19,6 +19,7 @@
 ;bluetooth-hci-up.service;network_fw;network_fw;System;
 ;bluetooth-hciattach@.service;root;root;System;
 ;bluetooth-map-agent.service;network_fw;network_fw;System;
+;bluetooth-mesh.service;network_fw;network_fw;System;
 ;bluetooth-pbap-agent.service;network_fw;network_fw;System;
 ;bluetooth-share.service;network_fw;network_fw;System;
 ;bluetooth-share-start.service;network_fw;network_fw;System;
index 0e8f122550b0f95d848451cca5af93e27dba166f..f15ee3f35f9249084f47abdaabc8665a1e173cab 100644 (file)
@@ -19,6 +19,7 @@
 ;bluetooth-hci-up.service;network_fw;network_fw;System;
 ;bluetooth-hciattach@.service;root;root;System;
 ;bluetooth-map-agent.service;network_fw;network_fw;System;
+;bluetooth-mesh.service;network_fw;network_fw;System;
 ;bluetooth-pbap-agent.service;network_fw;network_fw;System;
 ;bluetooth-share.service;network_fw;network_fw;System;
 ;bluetooth-share-start.service;network_fw;network_fw;System;
index b18dbce8555980fe4c09c68d02adb6e078bfad09..206213d2a53bb2f8887550af6fe16e7afaa54db8 100644 (file)
@@ -19,6 +19,7 @@
 ;bluetooth-hci-up.service;network_fw;network_fw;System;
 ;bluetooth-hciattach@.service;root;root;System;
 ;bluetooth-map-agent.service;network_fw;network_fw;System;
+;bluetooth-mesh.service;network_fw;network_fw;System;
 ;bluetooth-pbap-agent.service;network_fw;network_fw;System;
 ;bluetooth-share.service;network_fw;network_fw;System;
 ;bluetooth-share-start.service;network_fw;network_fw;System;
index 5c434dfcb784a003d74d6587f4a602f28b4d7bfa..fd3b648ff4ea976b4dbd7d49e1cadcd346253f4d 100644 (file)
@@ -15,6 +15,7 @@
 ;bluetooth-hci-logger.service;network_fw;network_fw;System;
 ;bluetooth-hci-logger-stop.service;network_fw;network_fw;System;
 ;bluetooth-hci-up.service;network_fw;network_fw;System;
+;bluetooth-mesh.service;network_fw;network_fw;System;
 ;bluetooth-share-start.service;network_fw;network_fw;System;
 ;bluetooth-stack-down.service;root;root;System;
 ;bluetooth-stack-up.service;network_fw;network_fw;System;
index 837368558f388999e7ab0ebddf41ab6b6f5dd3a5..4d1a32d6d994d2de3bc34c5e803dad03c0f3f62e 100755 (executable)
@@ -20,6 +20,7 @@
 ;bluetooth-hciattach@.service;root;root;System;
 ;bluetooth-hf-agent.service;network_fw;network_fw;System;
 ;bluetooth-hid-agent.service;network_fw;network_fw;System;
+;bluetooth-mesh.service;network_fw;network_fw;System;
 ;bluetooth-share-start.service;network_fw;network_fw;System;
 ;bluetooth-stack-down.service;root;root;System;
 ;bluetooth-stack-up.service;network_fw;network_fw;System;