[sbopkg-discuss] Re: Feature request - test build option

Chess Griffin chess at chessgriffin.com
Fri Jan 30 04:12:49 UTC 2009


* shadowsnipes <phillip.c.warner at gmail.com> [2009-01-29 18:35:34]:

> 
> It is often a very good idea to test buildscripts as a normal user
> before running them as root.  This could be added to sbopkg as an
> option for root.
> 
> Basically, root would select "test build" instead of "build".
> root would then su as another user,
> change $TMP and $OUTPUT to a directory that the user can use,
> copy the SlackBuild to a temporary directory that the user can write
> to,
> sed the "chown root:root" in the SlackBuild to comment it out
> build the package
> exit the su
> 
> All the user configurable vars would need to be checked for the
> selected user of course.

Heh, I'm going to have to think about this one as well.

-- 
Chess Griffin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20090129/324f302a/attachment.sig>


More information about the sbopkg-users mailing list