Declarative profiles
The build.sh
scripts are a mess, let's get rid of them.
The vague idea I have would look something like this:
-
mkarchiso
script would build the iso based on declarative configuration:- It would have an option that specifies a profile name to look-up in
/usr/share/archiso/configs/
and an option that specifies the full path to a profile's directory. - It would have an option for the iso output directory/filename.
- It would have an option that specifies a profile name to look-up in
-
Each profile would have:
-
profiledef
: a (script?) file that lists iso_name/iso_label/iso_publisher/iso_application/iso_version/etc. -
airootfs
: a directory that would contain all custom files. -
packages.x86_64
: a file that lists packages to be installed to workdir and thus into the iso. -
airootfsfiles
: a file that lists all custom (i.e. not frompackages.x86_64
) files and folders, and their permissions, that would get placed in the resulting iso. - An
airootfssymlinks
file that would list symlinks and their targets.
-