• David Runge's avatar
    Pass profile directory as parameter to mkarchiso · d90184a7
    David Runge authored
    Change all override option parameters (i.e. `-A`, `-C`, `-D`, `-L`, `-P` and `-g`) to not directly override the global
    variable they are tied to, but instead using an `override_` prefixed variable.
    Add `_set_overrides()` to use `override_` prefixed variables (if set) to override those without a prefix.
    Remove `-B` (a profile directory) from the list of parameters. The profile directory is now provided as separate
    non-option parameter.
    Add a call to `_read_profile()`, `_set_overrides()` and `command_build_profile()` to the fallthrough option of the
    switch-case checking `command_name` - a non-option parameter to mkarchiso. This effectively provides the possibility to
    set the profile directory using a non-option parameter, while still maintaining compatibility to legacy named arguments
    used in the configs' `build.sh` scripts.
    Extend the warning in regards to legacy `build.sh` based commands to mkarchiso by providing an EOL with arch...