Add udev rules and tmpfiles for gpio sysfs node 77/137577/4
authorHyeongsik Min <hyeongsik.min@samsung.com>
Thu, 6 Jul 2017 11:01:24 +0000 (20:01 +0900)
committerHyeongsik Min <hyeongsik.min@samsung.com>
Mon, 10 Jul 2017 06:40:21 +0000 (15:40 +0900)
commit9bf904e8b59466422fccf09ca61e17758c8eb7b3
tree7dd4ef9390583fbaa4e776881b405e3bbc345f9b
parentca806bc1a95f650614674fd63f64f079d2860e64
Add udev rules and tmpfiles for gpio sysfs node

In order to change UID/GID of peripheral-bus, we need to change
permission of gpio sysfs node from root to system_fw and set smack label to
them.

Change-Id: I84640cc8aa858a6cc00d9a38a89bd4d1aee3b478
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
CMakeLists.txt
packaging/90-gpio.rules [new file with mode: 0644]
packaging/peripheral-bus.service
packaging/peripheral-bus.spec
packaging/peripheral-bus.tmpfiles.conf [new file with mode: 0644]
src/daemon/peripheral_bus_gpio.c
src/interface/include/gpio.h