diff options
author | Sunmin Lee <sunm.lee@samsung.com> | 2016-12-26 14:44:42 +0900 |
---|---|---|
committer | Sunmin Lee <sunm.lee@samsung.com> | 2017-01-05 13:56:24 +0900 |
commit | acc78053342d2ebbfe4673592f0b744e0cde1981 (patch) | |
tree | 28dc45aaa15da19e8d49677d74b46d58e7831061 | |
parent | 4365b27e5222cff55b670e5e95ed71076e366af6 (diff) | |
download | tizen-platform-config-acc78053342d2ebbfe4673592f0b744e0cde1981.tar.gz tizen-platform-config-acc78053342d2ebbfe4673592f0b744e0cde1981.tar.bz2 tizen-platform-config-acc78053342d2ebbfe4673592f0b744e0cde1981.zip |
Change skel home path for RW partitionsubmit/tizen/20170105.051706accepted/tizen/wearable/20170106.103607accepted/tizen/tv/20170106.103531accepted/tizen/mobile/20170106.103442accepted/tizen/ivi/20170106.103641accepted/tizen/common/20170110.085216
As skel directory moved to RW partition (/etc/skel -> /opt/etc/skel),
skel home directory defined in %post section also needs to be changed.
Because the command chsmack doesn't work about symlink, it should be
changed although /etc/skel is linked to /opt/etc/skel.
Change-Id: I148780076256a776b6fd3ec1c49492d9b9ef7adc
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
-rw-r--r-- | packaging/tizen-platform-config.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/tizen-platform-config.spec b/packaging/tizen-platform-config.spec index 8a71969..6f36793 100644 --- a/packaging/tizen-platform-config.spec +++ b/packaging/tizen-platform-config.spec @@ -73,7 +73,7 @@ install -m 755 %{SOURCE2002} -D %{buildroot}%{_datadir}/upgrade/scripts/799.file # BEGIN - setting of predefined directories (also /etc/skel) ############################################## saveHOME="$HOME" -HOME="%{_sysconfdir}/skel" +HOME="/opt/etc/skel" . "%{_sysconfdir}/tizen-platform.conf" cat << ENDOFCAT | MODE 777 @@ -82,8 +82,10 @@ $TZ_SYS_STORAGE $TZ_SYS_MEDIA MODE 700 -SMACK User::Home true +SMACK _ true $TZ_USER_HOME + +SMACK User::Home true $TZ_USER_APPROOT $TZ_USER_DB $TZ_USER_PACKAGES |