ArcheOS developers uses live-build software to built the ArcheOS ISO image that will be distributed to the users. This allows us to create a versatile and shared development environment and forces us to comply to some Debian standards too.
All the following software must be installed and configure before proceeding with the build. All the packages listed below can be downloaded and installed on a Debian/Ubuntu box with APT or similar.
Some users complains about apt-cacher-ng errors:
(403 Configuration error (confusing proxy mode) or prohibited port (see AllowUserPorts) [IP: 127.0.0.1 3142])
To solve this edit (with sudo or as root) the file /etc/apt-cacher-ng/acng.conf and replace the line:
# AllowUserPorts: 80
and restart apt-cacher-ng with sudo service apt-cacher-ng restart
Follows step-by-step instructions on how to build the ISO on Debian or Ubuntu
On Ubuntu box you have to use the sudo lb clean && lb config --mode debian
You have to wait a long time until the build is completed...
Remember to run sudo lb clean --purge BEFORE launch again lb config to reset the original status
If needed, the default user is live with empty password
3. Optionally you can create an additional file similar to the archeos-core.list.chroot and list the desired package there. Note that the file MUST have the .list.chroot suffix. 3. Build as stated before.
The default ArcheOS architecture is the same as the Linux machine where the ISO is built. This means that if you are on a amd64 pc you will build an amd64 version of ArcheOS.
To change this you need to pass the --architectures option to lb config at build time. For example, if you are on a amd64 Linux box you could build a i386 ArcheOS with:
Obviously is not possible to build a amd64 version of ArcheOS on a i386 host.
some packages are still not migrated to the “correct” format (are still in form of binary .deb packages), so they could not be available to the desired architecture.