summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2016-11-15 16:10:39 +0900
committerSunmin Lee <sunm.lee@samsung.com>2016-11-20 22:02:20 -0800
commit2b144ee31efbf3519403df0c22864bcede7703df (patch)
treeb5426f8113f9178e59c4fcd3c280d879f0d265c0 /packaging
parent5054878c415b21ba818869394aea9fbe0bcdfdf3 (diff)
downloadsystem-plugin-2b144ee31efbf3519403df0c22864bcede7703df.tar.gz
system-plugin-2b144ee31efbf3519403df0c22864bcede7703df.tar.bz2
system-plugin-2b144ee31efbf3519403df0c22864bcede7703df.zip
Revert "Upgrade: Automated upgrade"submit/tizen_3.0/20161121.095219
Enable sdb debugging mode This reverts commit 1d54574aafb44faf41ba52b3334ce9e687993cf1. Change-Id: I7a53b95629ce4a74ded73a755961c4468499ec62
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