On Fri, 2011-01-07 at 08:19 -0500, Josef Skladanka wrote:
> Not that I'd know anything about packaging, but would not be something
> like (pseudocode):
> 
>     dirty_user = False
>     if not exists_user(autotest):
>         create_user(autotest)
>         dirty_user = True
>     
>     # do magical build stuff
>     
>     if dirty_user:
>         remove_user(autotest)
> 
> So you have 'the thing' in makefile, and you don't need to add
> additional build dep?

Thanks for the suggestion.  That would definitely do the job.  I think
the wrinkle comes because multiple packages are not supposed (or
allowed, I'm not sure) to create/remote the same user/groups.  We'd end
up with the logic you reference above in both autoqa and autotest spec
files (I think).  I suspect package reviewers would frown on that and
recommend we just rely on autotest for it's user/group definition.

http://fedoraproject.org/wiki/Packaging:UsersAndGroups

Thanks,
James

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
autoqa-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/autoqa-devel

Reply via email to