-
Notifications
You must be signed in to change notification settings - Fork 0
Galapagos Catalyst Config
This is a guide to configuring and using Catalyst to roll your own stage
tarballs to facilitate a fresh Galapagos Linux install until we have
infrastructure to host stage 3 tarballs and LiveCD's.
. install Catalyst from portage packager. emerge --ask dev-util/catalyst
. Download/Clone a copy of the portage tree from github git clone https://github.com/Galapagos-Linux/main.git
. Modify the catalyst config to utilse the new repository and a few other options. vi /etc/catalyst/catalyst.conf changes to make: portdir="" The following are used for storing galapagos data you need to change the distdir to avoid clobbering the current files.
Location of dist files
distdir=""
Location of portage tree snapshots
snapshot_cache=""
Location of Catalyst Generated files
storedir=""
Location of Portage Log files
port_logdir=""
. Create Required Folders Under the folder specifed for the storedir in the conf dir create builds/default
. Download Seed stage3 tar ball If Galapagos has tar balls grab the required architecture, if not then grab a copy of Gentoos Stage 3 https://gentoo.org/downloads/ Place the file into builds/default create above
. Create alternative portage configuration Create a directory dedicated to the portage configuration used for the catalyst build system. cp -r /etc/portage/ Edit to meet your requirements and catalyst configured dirs.
. Create a portage snapshot catalyst -s
. Create Stage Specification files The gentoo autobuild system has a set of spec files which can be used to develop your stage specifications https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs
You will need to create a Stage 1,2,3 specification file
Ensure the following are set correctly, and are the same in all Specs
portage_confdir: set as above
snapshot: <name of snapshot>
. That should be it, try building stage 1 catalyst -f If that is successful, you can now build 2 and 3 tarballs.
. The stage 3 can be install as per the gentoo handbook. https://wiki.gentoo.org/wiki/Handbook:Main_Page with one modification, during the base install from the live CD, you need to install git to utilise portage in your new environment until a decision is made on where/how to modify the profiles for environments.