#
Creating an ISO
Heavy packaging of Nexa Linux can be difficult, which is why we made our own ISO packaging script.
We use Penguins' eggs for packaging Nexa Linux. Huge thanks to the developer, Piero Proietti, for developing this awesome project.
Development only
The ISO creator script is used for development ONLY. Please, do NOT run this on your main PC.
First, start off with a clean Arch Linux VM. No desktop enviroment, no users. Use the root user. You can set any password for root
you like, it will be removed later.
You can also use a TTY. Just press CTRL + ALT + F5
and log in.
Once you're in, install wget
and nano
.
sudo pacman -S nano wget
Warning
There is a very high chance Penguins' eggs uses nano for editing /etc/sudoers
, and we will be doing that, so don't try replacing it with a different editor (e.g Neovim.)
After installing the packages, download the necessary scripts:
wget https://nexalinux.github.io/scripts/nlcs.sh -O /tmp/nexa-prod/nlcs.sh
wget https://nexalinux.github.io/scripts/iso.sh -O /tmp/nexa-prod/iso.sh
Remove wget
HSTS rules:
rm ~/.wget-hsts
Make the scripts executable:
chmod +x /tmp/nexa-prod/*
And now, execute nlcs.sh
(NLCS):
Danger ahead!
Like mentioned before, please, do NOT execute the script on your main PC. If you do, don't even try making an issue, as that's 100% your fault.
/tmp/nexa-prod/nlcs.sh
After that's done, immediately run the ISO creator:
/tmp/nexa-prod/iso.sh
Info
When Penguins' eggs tells you to edit /etc/sudoers
, find the commented line that enables any user in the group %wheel
to run sudo commands and uncomment it. Then press CTRL + S
to save and CTRL + X
to exit.
And now, grab the ISO in /home/eggs
and you're done!
If you want to redistribute our ISO, please, follow the GNU GPL 3.0 license!