Remove /proc and /sys directories to avoid smack errors 49/190049/1 accepted/tizen_5.0_base accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix accepted/tizen_6.0_base accepted/tizen_6.0_base_tool accepted/tizen_6.0_base_tool_hotfix tizen_5.0_base tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv tizen_6.0_base tizen_6.0_base_hotfix accepted/tizen/5.0/base/20181101.090247 accepted/tizen/5.5/base/20191030.081745 accepted/tizen/5.5/base/mobile/hotfix/20201023.084252 accepted/tizen/5.5/base/wearable/hotfix/20201023.080653 accepted/tizen/6.0/base/20201029.110539 accepted/tizen/6.0/base/20230713.142835 accepted/tizen/6.0/base/tool/20201029.112012 accepted/tizen/6.0/base/tool/hotfix/20201030.124817 accepted/tizen/6.0/base/tool/hotfix/20201102.090023 accepted/tizen/base/20180928.142151 submit/tizen_5.0_base/20181101.000001 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_base/20180927.030220 tizen_5.5.m2_release tizen_6.0.m2_release
authorHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Sep 2018 01:54:19 +0000 (10:54 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Sep 2018 01:57:48 +0000 (01:57 +0000)
error: Failed to set SMACK64 _ for /proc: Operation not supported
error: Failed to set SMACK64 _ for /sys: Operation not supported

Currently, in MIC build servers(Ubuntu 16.04, 4.4.0-119-generic),
setxattr() is not supported for proc and sysfs.

Change-Id: I444259893059c6d169bb2bf2ee627827c8bf5911
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
packaging/filesystem.spec

index 9c85408..41646fe 100644 (file)
@@ -52,7 +52,7 @@ mkdir -p boot dev \
        usr/share/{xsessions,X11} \
 %endif
        etc/{xdg/autostart,ld.so.conf.d,opt,pm/{config.d,power.d,sleep.d},xinetd.d,sysconfig,pki} \
-        home mnt proc root run/lock srv sys tmp \
+        home mnt root run/lock srv tmp \
         opt/{home,media,usr/{home,data,dbspace,media,media_shared,apps},share,dbspace,data,etc/skel,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,upgrade/{data,scripts}},src,src/kernels,src/debug} \
         var/{lib/{empty,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games}
@@ -146,12 +146,10 @@ posix.symlink("/run/lock", "/var/lock")
 /opt/media
 %attr(2770,root,priv_mediastorage) /opt/usr/media_shared
 %dir /mnt
-%attr(555,root,root) /proc
 %attr(550,root,root) /root
 /run
 /sbin
 /srv
-/sys
 %attr(1777,root,root) /tmp
 %dir /usr
 %attr(555,root,root) /usr/bin