On gio, 2014-01-23 at 11:49 +0000, Seema Singh wrote:
> Hi Stephane,
> 
>  
> 
> As part of Tizen open source member ,I started looking into
> Multi-architecture Connectivity-NFC module. Need information regarding
> UID/GID hard-coded values used in .spec files
> In .spec file there are few hard coded UID values like "5000".
> tizen-platform.meta file does not have any Macros defined for UID/GID.
> Also "libtzplatform-config" provides API to get uid/gid
> tzplatform_getuid()/tzplatform_getgid() respectively. 
> Which can't be used in .spec files. As per UID value definition ,
> value should be greater than 99 and greater than every other user.
> Defining a Macro would not solve the purpose as UID value can vary.
> 
> Is there a way to get/refer the uid value from spec file?

No there is no way to refer to numeric ids. That is intentional. 

In spec files, the names can be used in place of ids almost everywhere.
Using the macros %TZ_USER_NAME, %TZ_SYS_USER_GROUP, ... where you are
finding a numeric id in spec files is correct.

Best regards
José

> Would request you to provide your suggestion/inputs.
> 
> Thanks & Regards,
> Seema Singh.
> 
>  
> 
>  
> 
> 
> 
> 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev


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

Reply via email to