Change home directory: /opt/home -> /opt/usr/home 34/80134/5 submit/tizen/20160803.053139 submit/tizen_base/20160803.070433
authorSunmin Lee <sunm.lee@samsung.com>
Fri, 15 Jul 2016 00:53:09 +0000 (09:53 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Wed, 3 Aug 2016 05:41:18 +0000 (14:41 +0900)
Because of 3 partitions in Tizen 3.0, the home directory path
is changed. Now the path /opt is used for system data and /opt/usr
is a path for user, so the home directory containing user data
should be under the /opt/usr.

Change-Id: I7a8a289fedf364fb0eea779e29c5a04856d4d140
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
packaging/filesystem.spec

index 96aa097..a62d6c2 100644 (file)
@@ -53,7 +53,7 @@ mkdir -p boot dev \
 %endif
        etc/{xdg/autostart,ld.so.conf.d,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki} \
         home mnt proc root run/lock srv sys tmp \
-        opt/{home,media,usr/{data,dbspace,media},share,dbspace,data,etc,var} \
+        opt/{media,usr/{home,data,dbspace,media},share,dbspace,data,etc,var} \
         usr/{bin,etc,games,include,%{_lib}/{pkgconfig,games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,modules,sse2},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{help/C,aclocal,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,sounds,themes},src,src/kernels,src/debug} \
         var/{adm,empty,gopher,lib/{empty,games,misc,rpm-state},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp}
 
@@ -129,10 +129,10 @@ posix.symlink("/run/lock", "/var/lock")
 /opt/usr
 /opt/share
 /opt/dbspace
-/opt/data/
+/opt/data
 /opt/etc
 /home
-/opt/home
+/opt/usr/home
 /lib
 #%ifarch x86_64 ppc ppc64 sparc sparc64 s390 s390x
 /%{_lib}