[sbopkg-discuss] Feature request - test build option

shadowsnipes phillip.c.warner at gmail.com
Fri Jan 30 02:35:34 UTC 2009


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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "sbopkg-discuss" group.
To post to this group, send email to sbopkg-discuss at googlegroups.com
To unsubscribe from this group, send email to sbopkg-discuss+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/sbopkg-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---




More information about the sbopkg-users mailing list