diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2017-10-19 11:52:00 +0000 |
---|---|---|
committer | INSUN PYO <insun.pyo@samsung.com> | 2017-10-20 01:25:58 +0000 |
commit | b92b3c2f49788e699439e40f2c5729cfd7230411 (patch) | |
tree | fe62ca47163ebfb5f2a52aa4e208397d506c18ef /packaging/system-plugin.spec | |
parent | 029a14e09e64a75743e56e82f906842bc6690368 (diff) | |
download | system-plugin-b92b3c2f49788e699439e40f2c5729cfd7230411.tar.gz system-plugin-b92b3c2f49788e699439e40f2c5729cfd7230411.tar.bz2 system-plugin-b92b3c2f49788e699439e40f2c5729cfd7230411.zip |
Add profile-iot-headless and config-udev-sdbd.submit/tizen/20171020.012732accepted/tizen/unified/20171020.091737
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ibb2d1ecbda4e96d86d393c4b48f742a56887618a
(cherry picked from commit 06006b092875b93fa61f42b6f0c7c857df99be92)
Diffstat (limited to 'packaging/system-plugin.spec')
-rw-r--r-- | packaging/system-plugin.spec | 48 |
1 files changed, 40 insertions, 8 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index a84736b..cc9e3b6 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -157,20 +157,36 @@ BuildArch: noarch %description profile-iot This package provides system configuration files for IoT profiles. -%package -n feature-liblazymount +%package profile-iot-headless +Summary: System configuration files for IoT headless profiles +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description profile-iot-headless +This package provides system configuration files for IoT headless profiles. + +%package config-udev-sdbd +Summary: System configuration files to trigger sdb with udev rule +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description config-udev-sdbd +This package provides configuration files to trigger sdb with udev rule. + +%package feature-liblazymount Summary: Library for lazy mount feature Requires(post): /usr/bin/vconftool Requires: vconf -%description -n feature-liblazymount +%description feature-liblazymount Library for lazy mount feature. It supports some interface functions. -%package -n feature-liblazymount-devel +%package feature-liblazymount-devel Summary: Development library for lazy mount feature Requires: vconf Requires: feature-liblazymount = %{version} -%description -n feature-liblazymount-devel +%description feature-liblazymount-devel Development library for lazy mount feature.It supports some interface functions. %prep @@ -265,6 +281,11 @@ mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/ install -m 644 rules/99-sdb-switch.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ mkdir -p %{buildroot}%{_sysconfdir}/profile.d install -m 755 scripts/headless_env.sh %{buildroot}%{_sysconfdir}/profile.d + +# config-udev-sdbd +mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/ +install -m 644 rules/99-sdb-extcon.rules %{buildroot}%{_prefix}/lib/udev/rules.d/ + %clean rm -rf %{buildroot} @@ -482,7 +503,18 @@ ln -s /sbin/init.wrapper /sbin/init ## platform/upstream/e2fsprogs #rm -f %{_sbindir}/e4crypt -%files -n feature-liblazymount +%files profile-iot-headless +%manifest %{name}.manifest +%license LICENSE.Apache-2.0 +%{_sysconfdir}/profile.d/headless_env.sh + +%files config-udev-sdbd +%manifest %{name}.manifest +%license LICENSE.Apache-2.0 +%{_bindir}/sdb-mode.sh +%{_prefix}/lib/udev/rules.d/99-sdb-extcon.rules + +%files feature-liblazymount #%defattr(-,root,root,-) #%{_libdir}/liblazymount.so.* #%manifest liblazymount.manifest @@ -497,11 +529,11 @@ ln -s /sbin/init.wrapper /sbin/init #%{_unitdir_user}/wait-user-mount.service #%endif -%post -n feature-liblazymount +%post feature-liblazymount #/sbin/ldconfig #systemctl daemon-reload -%files -n feature-liblazymount-devel +%files feature-liblazymount-devel #%defattr(-,root,root,-) #%manifest liblazymount.manifest #%license LICENSE.Apache-2.0 @@ -512,4 +544,4 @@ ln -s /sbin/init.wrapper /sbin/init #%{_bindir}/test_lazymount #%endif -%postun -n feature-liblazymount -p /sbin/ldconfig +%postun feature-liblazymount -p /sbin/ldconfig |