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 PR introduces the
config
directory and the first application of it is externalizing the configuration of APT intoconfig/apt/
.Previously this was hardcoded in the installation script, but now you can adjust it in 'any' way you like.
The
sources.list
file is required, but can be adjusted to include for example 'contrib' and 'non-free'.Other files ending in
.list
will be added to/etc/apt/sources.list.d/
and included in this PR is the raspberrypi.org list, which can be deleted if you don't want that 😉You can also included apt preferences file and those files need to end with
.pref
and will be added to/etc/apt/preferences.d/
. Included in this PR is the preference to install vcgenmod and friends from raspbian and not raspberrypi.org, which was previously hardcoded in the installation script.Both
.list
and.pref
files have a special 'variable' named__RELEASE__
which will be replaced at installation time with therelease
config value.And then there's the option to include
.key
files in the directory which allows you to add extra repositories key files to APT so that they are trusted.This would close issue #98