Before this patch, RO rootfs was supported only for TV profile.
So remove the profile checking logic, and support RO mount for all profiles.
Change-Id: Id802fc8843ea8e346c6dc85910705adfad0cff1a
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
install -d -m 755 %{_sysconfdir}/%{name}/groupadd.d
install -d -m 755 %{_sysconfdir}/%{name}/groupdel.d
install -d -m 755 %{_localstatedir}/lib/%{name}/user
-%if "%{TIZEN_PRODUCT_TV}" == "1"
touch /opt%{_sysconfdir}/.pwd.lock
if [ -e "%{_sysconfdir}/.pwd.lock" ]; then
rm -f %{_sysconfdir}/.pwd.lock
fi
ln -s /opt%{_sysconfdir}/.pwd.lock %{_sysconfdir}/.pwd.lock
-%endif
%postun -p /sbin/ldconfig