Use an asterisk in place of a '+flavor' to indicate a template directory to be applied
to all flavors, or no flavor at all.
*:/home/user/qubes/qubes-src/some-repo/template-directory
Return all and run matches instead of only one which allows flavors
like salt to have multiple optional modules like mgmt-salt-dev to
run installation scripts in template subdirectories.
* origin/pr/8:
fixed 'verbosity disabling bug' https://github.com/QubesOS/qubes-issues/issues/1100 Deprecated functions setVerboseMode, getXtrace, setXtrace and variable XTRACE, because those were broken and their only use case was function umount_kill. Re-implemented disabling xtrace in function umount_kill, if variable VERBOSE is lower than or equal 2.
https://github.com/QubesOS/qubes-issues/issues/1100
Deprecated functions setVerboseMode, getXtrace, setXtrace and variable XTRACE, because those were broken and their only use case was function umount_kill. Re-implemented disabling xtrace in function umount_kill, if variable VERBOSE is lower than or equal 2.
- This better allows flavors to be within their own packages such as Whonix
The previous method of discovering flavor configurations was kind of broke
when using a flavor within a different package and including additional
options such as +standard.
which allows template flavor suffix to be added to package lists as well as most
any other file type now.
- created a new function to check if a file exists that was refactored out od
the templateFile function
- Added elementIn function which checks if an element exists within an array
- Set xtrace verbose mode (-x or +x)
- Added systemd-nspawn alternate to chroot
- Fix message display of multiple paramaters
- templateDir was missing quotes around element which could end up splittng a directory that contained spaces
- added functionality to find template flavors within $SCRIPTSDIR and not have to be located within a sub-directory
- Added a few more comments
Remove redundant function, move to separate file and load only this file
when only template name is needed. This way a lot less code gets loaded
on every make call.
Removed call from qubes_installation scripts for proxy files. will now be added by sub-template
Renamed extra-whonix-files to files
Modifies functions.sh to allow for very short proxy names and custom directories that will be dist independent
Added ability to specify more than one TEMPLATE_FLAVOR (Primary plus others)
Added ability for all TEMPLATE_FLAVORS and others to be able to hook into scripts (pre / post)
Addeed tests for above functionality
With these changes TEMPLATE_FLAVORS can be self contained and not polute code space
Added a few more whonix replacement tweaks
Updated umount_kill.sh to be able to umount directories that have been deleted
Added a DEBUG feature to save / use already created debootstrap image to save time debugging