I committed what made root filesystem as read only before. After that,
HDS(host directory sharing) has been failed because /mnt directory is
read only, so cannot make new directory. For correcting it I remount
the /mnt directory to /opt/mnt which is not read only.
Change-Id: I00c3b627ffe4670fb5ad876b7c0983d6303a6965
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
# After that, fstab remount root filesystem as read-only
# <file system> <mount point> <type> <options> <dump> <pass>
emulator-rootfs / ext4 ro,relatime,data=ordered 0 1
+#remount /mnt to /opt/mnt
+/opt/mnt /mnt none bind 0 2
mkdir -p %{buildroot}/usr/share/license
cp LICENSE %{buildroot}/usr/share/license/%{name}
+# to remount /mnt here
+mkdir -p %{buildroot}/opt/mnt
+
%posttrans
#run emulator_ns.preinit script after all packages have been installed.
/etc/preconf.d/emulator_ns.preinit
%{_prefix}/lib/udev/rules.d/95-tizen-emulator.rules
/usr/share/license/%{name}
%{_sysconfdir}/fstab
+/opt/mnt