For compatibility with Tizen 2.4, the user partition path
is preserved as /opt/usr rather than /opt/home. So, the home
directory path is changed as below:
/opt/home -> /opt/usr/home
Change-Id: I42cdd22bdff1a09d10e67dc88856a538acad676a
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
rm -rf /var
ln -snf opt/var /var
-test ! -e /opt/home && mkdir -p /opt/home
-test -d /home && cp -arf /home/* /opt/home/
+test ! -e /opt/usr/home && mkdir -p /opt/usr/home
+test -d /home && cp -arf /home/* /opt/usr/home/
rm -rf /home
-ln -snf opt/home /home
+ln -snf opt/usr/home /home
build_ts=$(date -u +%s)
build_date=$(date -u --date @$build_ts +%Y%m%d_%H%M%S)