Support RO rootfs for all profiles 46/107946/1
authorYunmi Ha <yunmi.ha@samsung.com>
Mon, 2 Jan 2017 04:12:32 +0000 (13:12 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Mon, 2 Jan 2017 04:12:32 +0000 (13:12 +0900)
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>
packaging/gumd.spec

index 4cc1cbf..b4a45d6 100644 (file)
@@ -131,13 +131,11 @@ install -d -m 755 %{_sysconfdir}/%{name}/userdel.d
 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