The current policy for setting Smack labels is to include an <assign> directive 
in the manifest file in the packaging directory. Unfortunately, the manifest 
format does not support build time variables. For cases where the path is 
defined in terms of a build time variable (e.g. TZ_SYS_DB) the preferred way to 
set a Smack label is by including a chsmack command in the .spec file.


Instead of

<assign><filesystem path="/opt/dbspace/.privacylist.db*" label="User" 
/></assign>

in the .manifest, use

                %chsmack  -a User %TZ_SYS_DB/.privacylist.db

in the .spec file.

Thank you.


_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to