From: Mu-Woong Date: Tue, 30 Jun 2015 02:40:06 +0000 (+0900) Subject: Add chsmack command for db file smack labeling X-Git-Tag: submit/tizen_mobile/20150630.143244~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae1befc72f341bc613672d0b27d00cac70b39414;p=platform%2Fcore%2Fcontext%2Fcontext-service.git Add chsmack command for db file smack labeling Change-Id: Ieae55c393b00b5974086a38cf61ed4ff2d63722f Signed-off-by: Mu-Woong --- diff --git a/packaging/context-service.spec b/packaging/context-service.spec index 596873c..09c5120 100644 --- a/packaging/context-service.spec +++ b/packaging/context-service.spec @@ -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