added the ability to use Debian based distributions by adding the apt-get package manager #695
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request provides changes to (the development branch of) CEKit to allow the use of
apt-get
as a package manager.These changes are based upon the corresponding pull request for the Alpine
apk
package manager #612 corresponding to the enhancement issue #609Following the example of the PR #612 we have added:
apt-get
as the distribution and its package manager.NOTE: The Debian
apt-get
package manager seems to require an "update" step before its "install" step. To be completely "correct" we should refactor therepo_install
andpkg_install
macros in thecekit/templates/template.jinja
file to add an explicit "pre-install" step. However we have, for this PR, simply addedupdate && apt-get --no-install-recommends
to thepackage_manager_flags
macro in thecekit/template_helper.py
file. (see the PR differences report).All tests pass against the Python 3.8 interpreter. (
make test
).Fixes #693