module BUILD file problem
Auke Kok
sofar at lunar-linux.org
Tue Aug 10 08:54:03 GMT 2004
From: sofar at lunar-linux.org
Just add it in the BUILD at the TOP... passwd and shadow are not tracked and the proper way like this is already demonstrated in the MTA modules for instance:
add_priv_user newuser:newgroup &&
sofar
(Ref: sendmail/BUILD prostfix/BUILD apache2/BUILD-I think)
On Tue, Aug 10, 2004 at 08:59:06AM +0200, ratler at lunar-linux.org wrote:
> Maybe using PRE_BUILD file will work?
>
> /Ratler
>
> On Mon, 9 Aug 2004, Nick Hudson wrote:
>
> >I guess this question needs to be directed at sofar, and maybe I missed
> >something over that last few months also and if I did please let me
> >know. I am creating a module that requires me to create a new user and
> >group before I do a make install. But in the BUILD file if I put the
> >following:
> >
> >groupadd newgroup 2>/dev/null
> >useradd newuser -g newgroup 2>/dev/null
> >
> >The BUILD file will stop and return a error. Now was there something
> >changed that does not allow this in the BUILD file? Because if I put it
> >in POST_INSTALL things works fine. But with this particular module for
> >it to install correctly and work correctly the user and group needs to
> >be added before the make install.
> >
> >Thanks
> >
> >Nick
> >
> >
> _______________________________________________
> Lunar-dev mailing list
> Lunar-dev at lunar-linux.org
> http://lunar-linux.org/mailman/listinfo/lunar-dev
>
More information about the Lunar-dev
mailing list