summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Schaufler <casey.schaufler@intel.com>2014-06-24 09:55:30 -0700
committerCasey Schaufler <casey.schaufler@intel.com>2014-06-24 09:55:30 -0700
commit4bdcb4fc7a40d576fd478176cab04ebc9fd5406d (patch)
tree7c451aa7114c4f92036eac883bae70abf8150351
parent49b5fb4bff0b046f779664d04a55b4338f0a48ab (diff)
downloadvconf-4bdcb4fc7a40d576fd478176cab04ebc9fd5406d.tar.gz
vconf-4bdcb4fc7a40d576fd478176cab04ebc9fd5406d.tar.bz2
vconf-4bdcb4fc7a40d576fd478176cab04ebc9fd5406d.zip
Use chsmack instead of sed on the .manifest. Get additional directories. Change-Id: Ie04562481b58b35f2911d39885a334b9bd4a9cbc Signed-off-by: Casey Schaufler <casey.schaufler@intel.com>
-rw-r--r--packaging/vconf.manifest3
-rwxr-xr-xpackaging/vconf.spec4
2 files changed, 3 insertions, 4 deletions
diff --git a/packaging/vconf.manifest b/packaging/vconf.manifest
index 5217a94..017d22d 100644
--- a/packaging/vconf.manifest
+++ b/packaging/vconf.manifest
@@ -2,7 +2,4 @@
<request>
<domain name="_"/>
</request>
- <assign>
- <filesystem path="TZ_SYS_CONFIG/db" label="User" />
- </assign>
</manifest>
diff --git a/packaging/vconf.spec b/packaging/vconf.spec
index 77db5bf..20977b9 100755
--- a/packaging/vconf.spec
+++ b/packaging/vconf.spec
@@ -40,7 +40,6 @@ Vconf key management header files
%prep
%setup -q -n %{name}-%{version}
-sed -i 's|TZ_SYS_CONFIG|%{TZ_SYS_CONFIG}|g' %{SOURCE1001}
cp %{SOURCE1001} .
%build
@@ -62,6 +61,9 @@ ln -sf ../vconf-setup.service %{buildroot}%{_unitdir}/basic.target.wants/
%post
/sbin/ldconfig
systemctl daemon-reload
+chsmack -a 'User' %{TZ_SYS_CONFIG}
+chsmack -a 'User' %{TZ_SYS_CONFIG}/db
+chsmack -a 'User' %{TZ_SYS_CONFIG}/db/.backup
%postun
/sbin/ldconfig