Hi Robert, On Thu, Sep 29, 2011 at 10:06 AM, Robert Xu <robxu9@gmail.com> wrote:
On Sep 29, 2011, at 9:21, Darin Perusich <darin@darins.net> wrote:
Hello,
I'm adding a group during the %prep stage of a package and the groupadd fails with the error "Cannot lock group file: already locked." when a building on OBS. This is something special I need to do to create the group during %prep?
You can't do it during %prep. Do you mean %pre? Doing it during prep is kinda unsanitary...
I'm creating it in %prep because the group is need as part of the build process...maybe I need to move it to %build. Incidentally, I'm creating the group and performing a usermod in %pre. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org