"busybox readlink -f" can not identify absolute path for nonexistent file.
So, we do not use "busybox readlink". It is safe now since no symbolic links
are used in files path that files are used in prerun script.
Change-Id: Ifae058b490a1ebee9532f89a53eebf43e1107dd7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
3a71b1b13da6df0f63faaa9a654d20ea15134786)
fi
CMDLINE=/proc/cmdline
-EMULATOR_ENV=$(readlink -f $NEW_ROOT/etc/profile.d/emulator_env.sh)
+EMULATOR_ENV=$NEW_ROOT/etc/profile.d/emulator_env.sh
##### network proxy environments
echo -e "*** Generating network proxy env"
CMDLINE=/proc/cmdline
-XML=$(readlink -f $NEW_ROOT/etc/config/model-config.xml)
+XML=$NEW_ROOT/etc/config/model-config.xml
echo -e "*** Setting model-config.xml"