Replace build.sh scripts with mkarchiso
The first commit simply fixes general nastiness of the mkarchiso script.
Profile specific variables are defined in a profiledef.sh file inside the profile's directory.
The new build_profile command builds an iso using a profiledef.sh file from the profile's directory. The profile's path is specified with -B path/to/profile.
The following commands can build the iso:
sudo ./archiso/mkarchiso -B configs/releng -v -w /tmp/mkarchiso-test -o /tmp build_profile
sudo ./archiso/mkarchiso -B configs/baseline -v -w /tmp/mkarchiso-test -o /tmp build_profile
sudo PATH="archiso:$PATH" ./configs/releng/build.sh -v -w /tmp/mkarchiso-test -o /tmp
sudo PATH="archiso:$PATH" ./configs/baseline/build.sh -v -w /tmp/mkarchiso-test -o /tmp
Previous build.sh scripts should also still work with the new mkarchiso.
Edited by nl6720