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

Add offline build functionality with apt-cacher-ng #734

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

TheRealRobinHood
Copy link

pi-gen now supports offline builds with the introduction of two new options: ENABLE_CACHING and USE_CACHED_DATA.

CONFIG

  • ENABLE_CACHING (Default: 0)

    Setting ENABLE_CACHING to 1 enables caching during the build process.
    Cached data is stored in the cache/ directory, allowing you to build the system with an internet connection and cache the required packages.

    To perform an offline build, set USE_CACHED_DATA to 1.
    This instructs pi-gen to use the cached packages stored in the cache/ directory during the build,
    eliminating the need for an internet connection.

    USE_CACHED_DATA (Default: 0)

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