summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2016-08-11 15:48:43 +0900
committerSunmin Lee <sunm.lee@samsung.com>2016-08-11 03:23:50 -0700
commitc87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc (patch)
tree8b75a6bc2e9d658f93923b8e9e7d799cfcfc1cbb /units
parent4d47f99b2e37f14b324d7e46826a765f0360fe54 (diff)
downloadsystem-plugin-c87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc.tar.gz
system-plugin-c87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc.tar.bz2
system-plugin-c87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc.zip
Because the home directory path is different between 2.4 and 3.0, some additional actions for home directory is needed. The init-update.service (init-update.sh) does it. It preserves (not move) the previous home directory (/opt/home), and just add new home directory (/opt/usr/home). Change-Id: I5823c2d5902557f4b703a030ea5b144f65901222 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Diffstat (limited to 'units')
-rw-r--r--units/init-update.service8
-rw-r--r--units/offline-update.service2
2 files changed, 9 insertions, 1 deletions
diff --git a/units/init-update.service b/units/init-update.service
new file mode 100644
index 0000000..e438cb3
--- /dev/null
+++ b/units/init-update.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=System update initialize service
+Requires=sysinit.target
+After=sysinit.target
+
+[Service]
+Type=simple
+ExecStart=/system-update/update-init.sh
diff --git a/units/offline-update.service b/units/offline-update.service
index c90b4e0..ed00616 100644
--- a/units/offline-update.service
+++ b/units/offline-update.service
@@ -1,7 +1,7 @@
[Unit]
Description=System update script service
Requires=sysinit.target
-After=sysinit.target
+After=sysinit.target init-update.service
[Service]
Type=simple