As skel directory moved to RW partition (/etc/skel -> /opt/etc/skel),
skel home directory defined in %post section also needs to be changed.
Because the command chsmack doesn't work about symlink, it should be
changed although /etc/skel is linked to /opt/etc/skel.
Change-Id: I148780076256a776b6fd3ec1c49492d9b9ef7adc
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
# BEGIN - setting of predefined directories (also /etc/skel)
##############################################
saveHOME="$HOME"
-HOME="%{_sysconfdir}/skel"
+HOME="/opt/etc/skel"
. "%{_sysconfdir}/tizen-platform.conf"
cat << ENDOFCAT |
MODE 777
$TZ_SYS_MEDIA
MODE 700
-SMACK User::Home true
+SMACK _ true
$TZ_USER_HOME
+
+SMACK User::Home true
$TZ_USER_APPROOT
$TZ_USER_DB
$TZ_USER_PACKAGES