diff options
author | Hyotaek Shim <hyotaek.shim@samsung.com> | 2017-06-09 16:08:03 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2017-06-09 16:46:06 +0900 |
commit | 98e1b8831840f3bd3094a40987ecb999f2168d3e (patch) | |
tree | 945d1dc4fa9bf72b4c9297cb787d116d4b21b253 | |
parent | 44455e6485c430add0e9af55cac5ca18855b0a35 (diff) | |
download | system-plugin-98e1b8831840f3bd3094a40987ecb999f2168d3e.tar.gz system-plugin-98e1b8831840f3bd3094a40987ecb999f2168d3e.tar.bz2 system-plugin-98e1b8831840f3bd3094a40987ecb999f2168d3e.zip |
Modify specific system configuration files for IoT and RPI3submit/tizen_4.0/20170828.110001submit/tizen_4.0/20170811.094300submit/tizen/20170609.080123accepted/tizen/unified/20170609.204802accepted/tizen/4.0/unified/20170828.224141accepted/tizen/4.0/unified/20170816.010429
Change-Id: I1b98267c0b96415eca30a0e2f03db06055c9ac01
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r-- | packaging/system-plugin.spec | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index 110cba3..e44211c 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -38,6 +38,14 @@ BuildArch: noarch %description rpi3 This package provides RPi3 specific system configuration files. +%package iot +Summary: IoT specific system configuration files +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description iot +This package provides IoT specific system configuration files. + %package n4 Summary: Note4 specific system configuration files Requires: %{name} = %{version}-%{release} @@ -241,11 +249,23 @@ systemctl daemon-reload %{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-system\x2ddata.service %{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-user.service %{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-rootfs.service -%{_sysconfdir}/fstab_2part +%{_sysconfdir}/fstab %{_prefix}/lib/udev/hwdb.d/60-evdev.hwdb %post rpi3 %{_prefix}/bin/udevadm hwdb --update + +%files iot +%manifest %{name}.manifest +%license LICENSE.Apache-2.0 +%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-system\x2ddata.service +%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-user.service +%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-rootfs.service +%{_sysconfdir}/fstab_2part +%{_prefix}/lib/udev/hwdb.d/60-evdev.hwdb + +%post iot +%{_prefix}/bin/udevadm hwdb --update rm %{_sysconfdir}/fstab mv %{_sysconfdir}/fstab_2part %{_sysconfdir}/fstab |