Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Externalize apt config #138

Closed

Conversation

diederikdehaas
Copy link
Member

This PR introduces the config directory and the first application of it is externalizing the configuration of APT into config/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 the release 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

@diederikdehaas diederikdehaas mentioned this pull request Oct 8, 2014
@diederikdehaas
Copy link
Member Author

Closing this PR, since I've split it into 2 separate ones.

@diederikdehaas diederikdehaas deleted the externalize-apt-config branch October 14, 2014 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant