Snal Linux is created using scripts from the archiso project. More information about archiso can be found at https://wiki.archlinux.org/index.php/Archiso
Snal uses the following packages from the Arch User Repository (AUR):
These must be build and added to a local repository. Package build process:
Step | Function | Command |
---|---|---|
1 | make src directory | mkdir src |
2 | make snalrepo directory | mkdir snalrepo |
3 | cd into src directory | cd src |
4 | download tty-clock snapshot | wget https://aur.archlinux.org/cgit/aur.git/snapshot/tty-clock.tar.gz |
5 | untar tty-clock | tar xvf tty-clock.tar.gz |
6 | cd into dir | cd tty-clock |
7 | build tty-clock | makepkg -s |
8 | copy package to snalrepo dir | cp tty-clock-*.pkg.tar.zst ../../snalrepo |
9 | download xkcdpss snapshot | wget https://aur.archlinux.org/cgit/aur.git/snapshot/xkcdpass.tar.gz |
10 | untar xkcdpass | tar xvf xkcdpass.tar.gz |
11 | cd into dir | cd xkcdpass |
12 | build xkcdpass | makepkg -s |
13 | copy package to snalrepo dir | cp xkcdpass-*.pkg.tar.zst ../snalrepo |
14 | download yay snapshot | wget https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz |
15 | untar yay | tar xvf yay.tar.gz |
16 | cd into dir | cd yay |
17 | build yay | makepkg -s |
18 | copy package to snalrepo dir | cp yay-*.pkg.tar.zst ../snalrepo |
19 | add packages to repo | repo-add ./snalrepo.db.tar.gz tty-clock-.pkg.tar.zst xkcdpass-.pkg.tar.zst yay-*.pkg.tar.zst |
The Snal image/ISO can then be built. Snal build process:
Step | Function | Command |
---|---|---|
1 | clone repository | git clone git://git.code.sf.net/p/snallinux/code snallinux |
2 | make build directory | mkdir snalbuild |
3 | copy relevant files | cp -r /snallinux/{archiso,configs/releng} /snalbuild |
4 | cd into dir | cd /snalbuild |
5 | run mkarchiso script | ./archiso/mkarchiso -v -w work -o out releng |