Goals, Objectives & Strategy
- learning about archiso package
- read all the information about archiso you can find
- use archiso to build an iso yourself
- analyse permissions, user and group names
- no local repository on your pc but online
Read this article before watching the video.
Follow the links in the page.
It is a must to know what files and folders you get when installing archiso.
We install archiso with this code
sudo pacman -S archiso
Now you can use pamac to see what is installed where and you can go read what is installed.
mkarchiso is the most important script/application that will be used later on to build the iso.
There are two profiles baseline and releng. We will only use the releng profile in the future.
The wiki is talking about archlive our name will be carli.
We create a new github for carli. We will number them according to the phase we are in.
We will re-use the files from our githubs. Setting up githubs is explained here.
We copy/paste the releng profile inside the carli folder and post it online to github.
Read all the files from archiso and read the page on the arch wiki about mkinitcpio.
We talk about the files :
- packages.x86_64 file is the content of what is going on the iso
- mkinitcpio.conf – configuration file for your initial ramdisk
- pacman.conf – what repositories will pacman use
- airootfs – overlay for your future iso
- customize_airootfs.sh – a script to change your future linux system
- build.sh – open it and read it
We can start building with
sudo ./build.sh -v
Use the -v to get more information while it is building. We will add it to the script later on.
There will be two extra folders.
Now you can load this iso into virtualbox.
If there is a work directory, you can not run the builds script again.
We make a cleanup script to be able to build again.
We also create .gitignore file to make sure that the work folder and out folder will never go online.
We check the content of our iso by mounting it and check again on virtualbox.
Let us set the -v option by default in the .build.sh .
Read here how ArcoLinux is using the archiso script to build any of the 64+ iso’s.