[Request]Update SMACK manifest and rule file
authorGoo Lee <goo81.lee@samsung.com>
Fri, 3 May 2013 10:27:54 +0000 (19:27 +0900)
committerGoo Lee <goo81.lee@samsung.com>
Fri, 3 May 2013 10:30:06 +0000 (19:30 +0900)
libug-worldclock-efl.manifest
packaging/libug-worldclock-efl.spec

index 7c6ac01..a608567 100644 (file)
@@ -1,11 +1,16 @@
 <manifest>
-       <define>
-               <domain name="worldclock"/>
-               <provide>
-                       <label name="worldclock::db"/>
-               </provide>
-       </define>
-       <request>
-               <domain name="_"/>
-       </request>
+        <define>
+                <domain name="ug-worldclock-efl" />
+        </define>
+        <assign>
+                <filesystem path="/opt/usr/ug/data/ug-worldclock-efl/*" label="ug-worldclock-efl" type="transmutable"/>
+                <filesystem path="/usr/ug/res/images/ug-worldclock-efl/*" label="_"/>
+                <filesystem path="/usr/ug/res/edje/ug-worldclock-efl/*" label="_"/>
+                <filesystem path="/usr/ug/res/locale/*" label="_"/>
+                <filesystem path="/usr/ug/lib/libug-worldclock-efl.so" label="_"/>
+                <filesystem path="/usr/share/license/*" label="_"/>
+        </assign>
+        <request>
+                <domain name="ug-worldclock-efl" />
+        </request>
 </manifest>
index 902b788..efc6519 100644 (file)
@@ -360,6 +360,8 @@ sqlite3 /opt/dbspace/.worldclock.db 'PRAGMA journal_mode = PERSIST;
                INSERT INTO "city_table" VALUES(305,"IDS_WCL_BODY_CITYNAME_ZURICH","IDS_WCL_BODY_SWITZERLAND","GMT+1",0,1,0,0,"Europe/Zurich");'
 fi
 
+chsmack -a 'worldclock::db' /opt/dbspace/.worldclock.db*
+
 # Change file owner
 chown :6015 /opt/dbspace/.worldclock.db
 chown :6015 /opt/dbspace/.worldclock.db-journal