[Revisor-users] How to compose media from source code

Jonathan Steffan jon at fedoraunity.org
Sat Oct 13 19:33:07 UTC 2007


Jason Grant wrote:
> My employer has asked me to create a live distro to showcase some of its
> software.  This software currently depends on custom builds of httpd,
> mod_perl, libxml2, various perl modules, etc. (static linking, and
> various other custom make/config switches).
> 
> I'm new to revisor, and am uncertain about how to ensure that these
> build artifacts appear in the live media.  The options that come to mind
> include:
> 
> 1) Invoking 'make install' in the kickstart %post phase.  I don't like
> this idea, and am not even sure if it will work, although at least I
> don't have to figure out what the Makefiles are installing.
> 
> 2) Figuring out what is installed by the Makefiles, and tarring these
> up.  Then, extract the tar from %post.
> 
> 3) Like (2), but put the artifacts in an rpm in a local yum repo.  This
> way, there is no ugly %post step.
> 
> Although (2) and (3) seem cleaner, they require that I audit the logic
> of many Makefiles, which may be tedious and error-prone.  Advice on how
> best to proceed would be appreciated.

I would personally recommend packaging your custom software. Wouldn't
that be more usable outside of the Live image also?

Jonathan Steffan
daMaestro


More information about the Revisor-users mailing list