summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2019-03-26 18:02:46 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2019-03-26 18:02:46 +0900
commit39e7f4de56236a056392a4b38af33e1cbc4293c9 (patch)
tree99195ccd68d16a8eba0da1d971619aaf33520a89
parent79e046dc0b09450dbdc356fc2b1c24da26df0686 (diff)
downloaddevice-tm1-39e7f4de56236a056392a4b38af33e1cbc4293c9.tar.gz
device-tm1-39e7f4de56236a056392a4b38af33e1cbc4293c9.tar.bz2
device-tm1-39e7f4de56236a056392a4b38af33e1cbc4293c9.zip
Rename 61-tizen-video-device.rules to 61-video.rules
Change-Id: Ieb5a9d4003284ae5d554a5db5dcda3ce6541709c Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r--packaging/device-manager-plugin-sc7730.spec9
-rw-r--r--rules/61-video.rules (renamed from 61-tizen-video-device.rules)4
2 files changed, 6 insertions, 7 deletions
diff --git a/packaging/device-manager-plugin-sc7730.spec b/packaging/device-manager-plugin-sc7730.spec
index b9d23b4..8e68812 100644
--- a/packaging/device-manager-plugin-sc7730.spec
+++ b/packaging/device-manager-plugin-sc7730.spec
@@ -1,12 +1,12 @@
Name: device-manager-plugin-sc7730
Summary: Device manager plugin sc7730
-Version: 0.0.1
+Version: 0.0.1
Release: 0
Group: System/Hardware Adaptation
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest
-Requires(post): /sbin/ldconfig
+Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
@@ -17,7 +17,6 @@ BuildRequires: pkgconfig(libudev)
%description
Device manager plugin sc7730
-
%prep
%setup -q
cp %{SOURCE1} .
@@ -31,7 +30,7 @@ make %{?jobs:-j%jobs}
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d
-install -m 644 61-tizen-video-device.rules %{buildroot}%{_prefix}/lib/udev/rules.d
+install -m 644 61-video.rules %{buildroot}%{_prefix}/lib/udev/rules.d
%make_install
@@ -43,4 +42,4 @@ install -m 644 61-tizen-video-device.rules %{buildroot}%{_prefix}/lib/udev/rules
%{_libdir}/hw/*.so
%manifest %{name}.manifest
%license LICENSE
-%{_prefix}/lib/udev/rules.d/61-tizen-video-device.rules
+%{_prefix}/lib/udev/rules.d/61-video.rules
diff --git a/61-tizen-video-device.rules b/rules/61-video.rules
index 01b576b..7c07232 100644
--- a/61-tizen-video-device.rules
+++ b/rules/61-video.rules
@@ -1,4 +1,4 @@
-ACTION!="add", GOTO="tizen_video_device_end"
+ACTION!="add", GOTO="video_end"
# video
KERNEL=="video0", GROUP="video", SECLABEL{smack}="*", MODE="0660"
@@ -11,4 +11,4 @@ KERNEL=="sprd_scale", GROUP="video", SECLABEL{smack}="*", MODE="0660"
KERNEL=="sprd_sensor", GROUP="priv_camera", SECLABEL{smack}="*", MODE="0660"
KERNEL=="sprd_vsp", GROUP="video", SECLABEL{smack}="*", MODE="0660"
-LABEL="tizen_video_device_end"
+LABEL="video_end"