Skip to content
Kristian Kriehl edited this page Jun 17, 2013 · 11 revisions

Build Archipel Node Stateless OS

Building the ISO is very easy. You just have to note that there are two build modes. One is based on Fedora16, the other is based on CentOS6. You need to use the correct distribution to build the according version. We strongly encourage you to use Fedora

Preparing the build

In your Archipel clone, ensure the ANSOS submodule is initialized:

cd Archipel/ArchipelAgent
ls ANSOS

If it's empty:

cd Archipel
git submodule update --init --recursive

Create some folder if needed:

BASEDIR=$(rpm --eval %_topdir)
mkdir -p $BASEDIR/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}

Then be sure all dependencies are installed:

yum install livecd-tools appliance-tools-minimizer rpm-build createrepo make automake autoconf sudo wget tar

NOTE: In CentOS mode, your need to install the EPEL repository and appliance-tools-minimizer will not be available

Build!

Then build the ISO:

cd ArchipelAgent
./buildAgent -Bel
  • -B: build RPMS
  • -e: export RPMS in Archipel_RPMS folder
  • -l: build ANSOS

NOTE: If nothing changed in Archipel, and your RPMS are OK, you can just run ./buildAgent -l

The output will be found in the ArchipelAgent folder.

Clone this wiki locally