diff options
author | Jae-young Hwang <j-zero.hwang@samsung.com> | 2015-11-19 10:18:32 +0900 |
---|---|---|
committer | Jae-young Hwang <j-zero.hwang@samsung.com> | 2015-11-19 11:33:18 +0900 |
commit | dea61f27efe0a68b0191371ffd682dbd117fda14 (patch) | |
tree | 77a676d62a3a68d4605f07b0498a0400b7990fdd | |
parent | 830a4eb58881ced787c8fe9d623e47c208936b50 (diff) | |
download | system-plugin-dea61f27efe0a68b0191371ffd682dbd117fda14.tar.gz system-plugin-dea61f27efe0a68b0191371ffd682dbd117fda14.tar.bz2 system-plugin-dea61f27efe0a68b0191371ffd682dbd117fda14.zip |
system-plugin: Add new package for TM1 projectsubmit/tizen/20151119.053609accepted/tizen/wearable/20151119.082100accepted/tizen/tv/20151119.082036accepted/tizen/mobile/20151119.082009
add udev rule file and tizen-system-env.service file
Change-Id: I06dc8e38a8f56b52feaac973a73a51416ecf7c95
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
-rw-r--r-- | packaging/system-plugin.spec | 14 | ||||
-rw-r--r-- | rules/51-system-plugin-spreadtrum.rules | 17 |
2 files changed, 31 insertions, 0 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index 05e765a..ee05a3f 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -38,6 +38,13 @@ Requires: %{name} = %{version}-%{release} %description exynos This package provides Exynos specific system configuration files. +%package spreadtrum +Summary: Spreadtrum specific system configuration files +Requires: %{name} = %{version}-%{release} + +%description spreadtrum +This package provides Spreadtrum specific system configuration files. + %prep %setup -q @@ -58,6 +65,7 @@ ln -s ../tizen-system-env.service %{buildroot}%{_unitdir}/basic.target.wants/tiz mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/ install -m 644 rules/51-system-plugin-exynos.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ +install -m 644 rules/51-system-plugin-spreadtrum.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ # fstab mkdir -p %{buildroot}%{_sysconfdir} @@ -90,3 +98,9 @@ systemctl daemon-reload %files exynos %manifest %{name}.manifest %{_prefix}/lib/udev/rules.d/51-system-plugin-exynos.rules + +%files spreadtrum +%manifest %{name}.manifest +%{_prefix}/lib/udev/rules.d/51-system-plugin-spreadtrum.rules +%{_unitdir}/tizen-system-env.service +%{_unitdir}/basic.target.wants/tizen-system-env.service diff --git a/rules/51-system-plugin-spreadtrum.rules b/rules/51-system-plugin-spreadtrum.rules new file mode 100644 index 0000000..650ce00 --- /dev/null +++ b/rules/51-system-plugin-spreadtrum.rules @@ -0,0 +1,17 @@ +ACTION!="add", GOTO="devices_end" + +KERNEL=="null|zero|full|random|urandom|uinput", SECLABEL{smack}="*" + +KERNEL=="umts_csd", GROUP="video", SECLABEL{smack}="*" +KERNEL=="media[0-9]", MODE="0664", GROUP="video", SECLABEL{smack}="*" + +KERNEL=="event*", SYMLINK+="%k" + +KERNEL=="samsung_sdb", SECLABEL{smack}="*" + +# Marvell +KERNEL=="uio[0-9]", MODE="0666", SECLABEL{smack}="*" + +KERNEL=="mobicore-user", SECLABEL{smack}="*" + +LABEL="devices_end" |