Add udev rule to allow app to access tty1 40/13340/1 accepted/tizen/ivi accepted/tizen/20131207.002849 submit/tizen/20131204.003311
authorRusty Lynch <rusty.lynch@intel.com>
Wed, 4 Dec 2013 00:28:56 +0000 (16:28 -0800)
committerRusty Lynch <rusty.lynch@intel.com>
Wed, 4 Dec 2013 00:28:56 +0000 (16:28 -0800)
This is needed when using systemd-208 without a proper login manager.
Once we have a login manager that is managing the tty device access
for the specific user initiated, then we can remove this tty udev file

Change-Id: If5bdd018738e0e2b6df71b729f29364b18c4e258
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
ivi/99-tty.rules [new file with mode: 0644]
packaging/udev-rules.spec

diff --git a/ivi/99-tty.rules b/ivi/99-tty.rules
new file mode 100644 (file)
index 0000000..e5a149f
--- /dev/null
@@ -0,0 +1 @@
+SUBSYSTEM=="tty", KERNEL=="tty1", GROUP="app", OWNER="app"
index 3b28975..aa54f0c 100644 (file)
@@ -35,3 +35,4 @@ rm -rf %{buildroot}
 %defattr(0644, root, root, 0755)
 %attr(0644,root,root) %{udev_libdir}/rules.d/99-atkbd.rules
 %attr(0644,root,root) %{udev_libdir}/rules.d/99-neard.rules
+%attr(0644,root,root) %{udev_libdir}/rules.d/99-tty.rules