Add udev rules file for slp_global_lock node 56/85756/2 accepted/tizen/common/20160830.150245 accepted/tizen/ivi/20160830.235702 accepted/tizen/mobile/20160830.235451 accepted/tizen/tv/20160830.235533 accepted/tizen/wearable/20160830.235619 submit/tizen/20160829.120328 submit/tizen/20160830.063644
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 29 Aug 2016 03:23:16 +0000 (12:23 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 29 Aug 2016 04:18:55 +0000 (13:18 +0900)
only install tw1 target

Change-Id: I5fc744f0c005695febf9d230396f0d364f9d0dd9

packaging/libtbm-exynos.spec
rules/99-libtbm_exynos.rules [new file with mode: 0644]

index 49ed653..96dad3a 100644 (file)
@@ -38,6 +38,12 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
 cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
+
+%if "%_repository" == "target-circle"
+mkdir -p %{buildroot}%{_libdir}/udev/rules.d/
+cp -af rules/99-libtbm_exynos.rules %{buildroot}%{_libdir}/udev/rules.d/
+%endif
+
 %make_install
 
 
@@ -52,4 +58,6 @@ ln -s libtbm_exynos.so %{_libdir}/bufmgr/libtbm_default.so
 %files
 %{_libdir}/bufmgr/libtbm_*.so*
 %{TZ_SYS_RO_SHARE}/license/%{name}
-
+%if "%_repository" == "target-circle"
+%{_libdir}/udev/rules.d/99-libtbm_exynos.rules
+%endif
diff --git a/rules/99-libtbm_exynos.rules b/rules/99-libtbm_exynos.rules
new file mode 100644 (file)
index 0000000..b00652e
--- /dev/null
@@ -0,0 +1 @@
+KERNEL=="slp_global_lock*", MODE="0666", GROUP="display", SECLABEL{smack}="*"