Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unfortunately, in terms of a build, we *just* got that working with the new "real world" stuff (like Saturday), so it hasn't been documented yet.

That said, basically, you should be able to do the following:
Build the Framework Packages

This part works on both the 4.X and 5.X branches and, in general, we would only have people download this bit as a set and then use the ISO build below themselves.

Prerequsites

  • Make sure git and mock are installed

  • Your user must be in mock group 
  • Install RVM and ruby 1.9 and 2.1 (but not 1.8 or 2.2)
  • 60G of space in /var/lib/mock
  • The gpg executable must be in the user's path (RHEL/Fedora package: gnupg)

Build SIMP!

  1. Run git clone https://github.com/simp/simp-core

  2. cd into simp-core

  3. Run git checkout 4.2.X

  4. Run bundle

  5. Run rake git:submodules:reset

  6. Cross your fingers

  7. You *may* need to run a for loop to find Gemfiles and run 'bundle' wherever they are at this point, we have a task on the backlog to fix this

  8. Run rake tar:build[epel-6-x86_64,dev,false] (builds for RHEL6, dev key, no docs)

At this point, you've built the SIMP tarball and could install it using a YUM server of your choice on whatever system you choose and try to follow the docs http://simp-doc.readthedocs.org/en/5.1.X/ 

The SIMP tarball(s) will be in simp-core/build/DVD_Overlay. There will be one per supported distribution.

Build the ISO

Take your favorite RHEL or CentOS DVD set and shove them in some directory somewhere with enough space to hold 3 copies.
  1. cd to the directory holding the ISO images

  2. Create a directory called orig

  3. cd into orig

  4. Run BUNDLE_DIRECTORY=/path/to/simp-core rake -f /path/to/simp-core/Rakefile unpack["/path/to/ISO1"]

    1. Repeat this step for any additional ISOs

  5. Run cd ..

  6. Run mkdir 4.2.X

  7. Run cd 4.2.X

  8. Run cp -rl ../orig/*6.6* .

  9. Run BUNDLE_DIRECTORY=/path/to/simp-core rake -f /path/to/simp-core/Rakefile iso:build["/path/to/simp-core/build/DVD_Overlay/<appropriate>.tar.gz"]

If all goes well, after this you will have a working SIMP-Ready ISO.

(At this time, we have some repoclosure issues that we need to work through so the ISO may not build)

  • No labels