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

AUR support #4

Closed
evert-mouw opened this issue Apr 23, 2019 · 3 comments
Closed

AUR support #4

evert-mouw opened this issue Apr 23, 2019 · 3 comments

Comments

@evert-mouw
Copy link

Thanks for creating pacredir! I'm a new user and I'm wondering if compiles AUR packages in the cache are also redirected. It would shorten compilation time for a few of my older machines. Maybe the functionality is already in place but it is not explicitly mentioned in the README.md

@eworm-de
Copy link
Owner

Just some package files in the cache do not help, pacman needs to know about them. So at least a database file needs to be available. Have a look at how to create custom repositories:
https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Custom_local_repository
(Possibly there is better documentation, that is first one I could find.)

Then add a new repository for all your machines in /etc/pacman.conf:

[customrepo]
Include = /etc/pacman.d/pacredir

Not sure what happens if no "usual" server is configured...

But now that you have all the packages and a database file in one location just make it available via http in your network...

@eworm-de
Copy link
Owner

Oh, I closed too early. Feel free to comment and share your experience anyway!

@evert-mouw
Copy link
Author

Thanks for your clarification! I'll give it some thought. You can close this issue, as it indeed is out of scope for pacredir.

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

No branches or pull requests

2 participants