diff options
author | Casey Schaufler <casey.schaufler@intel.com> | 2014-06-24 09:55:30 -0700 |
---|---|---|
committer | Casey Schaufler <casey.schaufler@intel.com> | 2014-06-24 09:55:30 -0700 |
commit | 4bdcb4fc7a40d576fd478176cab04ebc9fd5406d (patch) | |
tree | 7c451aa7114c4f92036eac883bae70abf8150351 | |
parent | 49b5fb4bff0b046f779664d04a55b4338f0a48ab (diff) | |
download | vconf-4bdcb4fc7a40d576fd478176cab04ebc9fd5406d.tar.gz vconf-4bdcb4fc7a40d576fd478176cab04ebc9fd5406d.tar.bz2 vconf-4bdcb4fc7a40d576fd478176cab04ebc9fd5406d.zip |
Smack labeling for TZ_SYS_CONFIGtizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi/20140630.140424submit/tizen/20140627.173312accepted/tizen/ivi/20140701.103253accepted/tizen/common/20140629.213857tizen_3.0.m14.2_ivi
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.manifest | 3 | ||||
-rwxr-xr-x | packaging/vconf.spec | 4 |
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 |