3.4.2. Building SIMP From Tarball¶
Note
Building SIMP from a pre-built tarball is the fastest method for getting a known stable build of a SIMP ISO and should be preferred over other methods.
3.4.2.1. Getting Started¶
Warning
Please have your environment prepared as specified by Environment Preparation before continuing.
Note
You do not need mock
on your system if you are generating an ISO
based on the SIMP Tarball!
Download the SIMP release tarball, found on our SIMP artifacts repository.
Download the latest tarball according to your needs. If you are not sure what version you need, check the SIMP Version Guide.
3.4.2.2. Generating The ISO!¶
Change into the simp-core
directory and make sure you are on the correct
branch for your target SIMP version:
$ cd simp-core
$ git checkout tags/6.0.0-0 # for SIMP 6
Run bundle install
to make sure that all of the build tools and dependencies are
installed and up to date:
$ bundle install
Make sure all of the source materials that were downloaded above are in your current working directory.
Run the build:auto
rake task to create a bootable ISO:
Note
Do not add any whitespace before or after the commas. This is an artifact
of using rake
.
$ bundle exec rake build:auto[<directory containing source ISOs>,<SIMP version>,<path to tarball>]
For example:
$ # for SIMP 6 and CentOS 7
$ bundle exec rake build:auto[.,6.X,SIMP-6.0.0-0-Overlay-EL-7-x86_64.tar.gz]
$ # for SIMP 6 and CentOS 6
$ bundle exec rake build:auto[.,6.X,SIMP-6.0.0-0-Overlay-EL-6-x86_64.tar.gz]
Once the process completes, you should have a bootable SIMP ISO ready for installation!