A Guide To ISO Building - DTOS
How to spin ISO of DTOS?
Ever wondered how to build the iso of DTOS? Well it's easy to do so! The process of ISO building needs some requirements
You need atleast:
Processor: Athlon Silver/Pentium or higher
OS: Arch Linux or any Arch based distribution (except Manjaro)
Processor: Quad Core processor or more
We recommend you go with the Recommended requirements for faster build time. Also remember you must have atleast 5GB storage for the packages to install in your system
Step 1: Clone the DTOS Repository
First of all, you need to clone our iso repository.
You can check the files in repo later and can insert stuff if you wanna contribute, but for now, let's move ahead
For cloning a repository, you need git installed in your system
sudo pacman -S git
Now clone the repository with the following command:
git clone https://github.com/arghyagod-coder/dtos
After doing this, cd into the directory you have cloned (dtos)
Step 2: Import Repositories
Oh now I'm scared, what's this importing repositories thing?? I have no idea?
Well it isn't as hard as it seems, we have automated the whole process for you by making a script for doing the stuff.
Just execute the devready file
sudo bash devready.sh
This will do all of the work for you of pre building settings. This script is to be run only once in your system and not second time.
Step 3: Start Building
We are nearly done with this, we just have to execute a script from here
Now to build the iso in the folder itself, simply execute the steps.sh file as root
sudo bash steps.sh
After the iso building process finishes, there will be folders ezreleng, work and out
out folder has the ISO
For cleaning up, remove the ezreleng and work folders.
sudo rm -rf ezreleng work
But to shorten this process and make the stuff cleaner, you can use the second workaround. Make a new folder called isobuild in the parent directory of dtos folder
Now simply execute start.sh as root
sudo bash start.sh
Remember that the folder should be named buildiso only!
The start.sh simplens up the installation process by doing the necessary building in a separate folder + cleaning that folder on every run. It includes running the build script so you dont have to run steps.sh again
It was so much simple to build a DTOS ISO. What can be easier?
Let me know in the comments about any errors you face or any thoughts you would like to share