forked from ArchipelProject/Archipel
-
Notifications
You must be signed in to change notification settings - Fork 0
ANSOS: Build
Kristian Kriehl edited this page Jun 17, 2013
·
11 revisions
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
In your Archipel clone, ensure the ANSOS submodule is initialized:
cd Archipel/ArchipelAgent
ls ANSOSIf it's empty:
cd Archipel
git submodule update --init --recursiveCreate 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 tarNOTE: In CentOS mode, your need to install the EPEL repository and
appliance-tools-minimizerwill not be available
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.