Add chsmack command for db file smack labeling 51/42551/1
authorMu-Woong <muwoong.lee@samsung.com>
Tue, 30 Jun 2015 02:40:06 +0000 (11:40 +0900)
committerMu-Woong <muwoong.lee@samsung.com>
Tue, 30 Jun 2015 02:40:06 +0000 (11:40 +0900)
Change-Id: Ieae55c393b00b5974086a38cf61ed4ff2d63722f
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
packaging/context-service.spec

index 596873c..09c5120 100644 (file)
@@ -92,6 +92,7 @@ sh data/template-json-to-sql.sh data/trigger-template.json > %{buildroot}/opt/da
 
 %post
 sqlite3 -echo /opt/dbspace/.context-service.db < /opt/data/context-service/trigger-template.sql
+chsmack -a "context-service" /opt/dbspace/.context-service.db*
 mkdir -p %{_unitdir}/graphical.target.wants
 ln -s ../context-service.service %{_unitdir}/graphical.target.wants/
 /sbin/ldconfig