diff options
author | Sunmin Lee <sunm.lee@samsung.com> | 2016-08-11 15:48:43 +0900 |
---|---|---|
committer | Sunmin Lee <sunm.lee@samsung.com> | 2016-08-11 03:23:50 -0700 |
commit | c87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc (patch) | |
tree | 8b75a6bc2e9d658f93923b8e9e7d799cfcfc1cbb /units | |
parent | 4d47f99b2e37f14b324d7e46826a765f0360fe54 (diff) | |
download | system-plugin-c87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc.tar.gz system-plugin-c87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc.tar.bz2 system-plugin-c87a3b281d50ba1b25a8fbaf1dd4cb7d1c7dcddc.zip |
Upgrade: update initialize - create home directorysubmit/tizen/20160812.055757submit/tizen/20160812.014407accepted/tizen/wearable/20160812.065557accepted/tizen/wearable/20160812.065442accepted/tizen/tv/20160812.065555accepted/tizen/tv/20160812.065445accepted/tizen/mobile/20160812.065600accepted/tizen/mobile/20160812.065440accepted/tizen/ivi/20160812.065602accepted/tizen/ivi/20160812.065448accepted/tizen/common/20160812.141035
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.service | 8 | ||||
-rw-r--r-- | units/offline-update.service | 2 |
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 |