summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/system-plugin.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index 13684a2..318b559 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -180,9 +180,11 @@ install -m 755 scripts/tizen-fstrim-on-charge.sh %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}
cp -r upgrade %{buildroot}%{_datadir}
mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants
+install -m 644 units/init-update.service %{buildroot}%{_unitdir}
install -m 644 units/offline-update.service %{buildroot}%{_unitdir}
-ln -s ../offline-update.service %{buildroot}%{_unitdir}/system-update.target.wants/offline-update.service
+ln -s ../init-update.service %{buildroot}%{_unitdir}/system-update.target.wants/init-update.service
ln -s %{_datadir}/upgrade %{buildroot}/system-update
+install -m 644 rules/99-sdb-switch.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
# ivi
install -m 755 scripts/usb_net_init.sh %{buildroot}%{_bindir}
@@ -301,8 +303,11 @@ mv %{_sysconfdir}/fstab_lazymnt %{_sysconfdir}/fstab
%files -n system-upgrade
%{_datadir}/upgrade
%{_unitdir}/offline-update.service
-%{_unitdir}/system-update.target.wants/offline-update.service
+%{_unitdir}/init-update.service
+#%{_unitdir}/system-update.target.wants/offline-update.service
+%{_unitdir}/system-update.target.wants/init-update.service
/system-update
+%{_prefix}/lib/udev/rules.d/99-sdb-switch.rules
%files -n systemd-user-helper
%manifest systemd-user-helper.manifest