Change-Id: I6d366d31dd8b2ce9c68d2939b83e83710a45294e
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
# Macro
PATH=/bin:/usr/bin:/sbin:/usr/sbin
USERDATA_DIR=/var/lib/gumd/user
+SYSCONFIG_PATH=/etc
+OLD_PWDLOCK_FILE=$SYSCONFIG_PATH/.pwd.lock
+NEW_PWDLOCK_FILE=/opt$SYSCONFIG_PATH/.pwd.lock
# Create default user data
mkdir -p $USERDATA_DIR
touch $USERDATA_DIR/5001
+
+# Create .pwd.lock symlink file for RO support.
+touch $NEW_PWDLOCK_FILE
+rm -f $OLD_PWDLOCK_FILE
+ln -s $NEW_PWDLOCK_FILE $OLD_PWDLOCK_FILE