- The owner and group of sdbd are changed from "root "to "sdk".
Thus the udev rule is changed for it.
- Previous:
bash-3.2# ls -alZ /dev/samsung_sdb
crw------- 1 root root * 10, 15 Jan 1 23:41 /dev/samsung_sdb
bash-3.2#
- Now:
bash-3.2# ls -alZ /dev/samsung_sdb
crw-rw---- 1 sdk sdk * 10, 15 Jan 2 04:09 /dev/samsung_sdb
bash-3.2#
Change-Id: Ifef41987d391bc544cd8792fc21458624306ce29
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Name: sdbd
Summary: SDB daemon
-Version: 3.0.12
+Version: 3.0.13
Release: 0
License: Apache-2.0
Summary: SDB daemon
mkdir -p %{buildroot}%{TZ_SYS_BIN}
install -m 755 script/profile_command %{buildroot}%{TZ_SYS_BIN}/
+%ifnarch %{ix86}
+mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/
+install -m 644 rules/99-sdbd.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
+%endif
+
%post
. %{_sysconfdir}/tizen-platform.conf
if ! getent passwd "${TZ_SDK_USER_NAME}" > /dev/null; then
%else
%{_unitdir}/sdbd_tcp.service
%{_libdir}/systemd/system/multi-user.target.wants/sdbd.service
+%{_prefix}/lib/udev/rules.d/99-sdbd.rules
%endif
/usr/share/license/%{name}
%{TZ_SYS_BIN}/profile_command
--- /dev/null
+KERNEL=="samsung_sdb", OWNER="sdk", GROUP="sdk", SECLABEL{smack}="*"