summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2016-08-10 14:01:51 +0900
committerSunmin Lee <sunm.lee@samsung.com>2016-08-10 14:27:41 +0900
commitd5558ee6700aa9565d73b24d10141bce130d72db (patch)
tree58407df3b73cfd08c80be8a30af98f1f4f04b39b /packaging
parent0afe81f970dbfb499d5cf16d934a42cdcab79356 (diff)
downloadsystem-plugin-d5558ee6700aa9565d73b24d10141bce130d72db.tar.gz
system-plugin-d5558ee6700aa9565d73b24d10141bce130d72db.tar.bz2
system-plugin-d5558ee6700aa9565d73b24d10141bce130d72db.zip
Upgrade: disable auto upgrade
For debugging & development, upgrade mode does not execute upgrade script automatically. After developer tests through sdb, they should execute update.sh manually: $ /system-update/update.sh Change-Id: Ic7866aa7134448a8e444397d8333b181569023a8 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/system-plugin.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index 031eb88..7655c3e 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -155,7 +155,7 @@ mkdir -p %{buildroot}%{_datadir}
cp -r upgrade %{buildroot}%{_datadir}
mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants
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 ../offline-update.service %{buildroot}%{_unitdir}/system-update.target.wants/offline-update.service
ln -s %{_datadir}/upgrade %{buildroot}/system-update
install -m 644 rules/99-sdb-switch.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
@@ -259,6 +259,6 @@ mv %{_sysconfdir}/fstab_initrd %{_sysconfdir}/fstab
%files -n system-upgrade
%{_datadir}/upgrade
%{_unitdir}/offline-update.service
-%{_unitdir}/system-update.target.wants/offline-update.service
+#%{_unitdir}/system-update.target.wants/offline-update.service
/system-update
%{_prefix}/lib/udev/rules.d/99-sdb-switch.rules