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

Rewrite cache dirs logick #60

Closed

Conversation

bartoszek
Copy link
Contributor

Rewrite cache_dirs logic

  • initialize cache_dirs with one of:
  1. value provided in command line -c switch
  2. pacman.conf provided in command line -C switch
  3. container pacman.conf file
  • find first writable cache_dir, bind it rw, remove from cache_dirs
  • extract host mirrors, find file:// ones, append to cache_dirs
  • extract server url, find file:// ones, append to cache_dirs
  • concatenate cache_dirs removing duplicates, bind them ro to container
  • check if any extra cache_dirs was defined, append to
    container pacman.conf as new [options] section.

Fix #57 #58 #59

@bartoszek bartoszek force-pushed the rewrite_cache_dirs_logick branch 2 times, most recently from 9e0b51c to 8d75f07 Compare March 9, 2021 11:41
@bartoszek bartoszek force-pushed the rewrite_cache_dirs_logick branch 2 times, most recently from 13f0fe4 to 9eee780 Compare March 9, 2021 15:28
bartus added 3 commits May 17, 2021 15:38
* initialize cache_dirs with one of:
 1. value provided in command line -c switch
 2. pacman.conf provided in command line -C switch
 3. container pacman.conf file
* find first writable cache_dir, bind it rw, remove from cache_dirs
* extract host mirrors, find file:// ones, append to cache_dirs
* extract server url, find file:// ones, append to cache_dirs
* concatenate cache_dirs removing duplicates, bind them ro to container
* check if any extra cache_dirs was defined, append to
  container pacman.conf as new [options] section.

Fix #57 archlinux#58 archlinux#59
@klausenbusk
Copy link
Member

devtools has been migrated to our GitLab, closing..

Migrated to: https://gitlab.archlinux.org/archlinux/devtools/-/merge_requests/60

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.

None yet

2 participants