Bug #501
[RFC] [libremakepkg]Uses the chroot makepkg.conf when downloading sources
Status:
info needed
Priority:
discussion
Category:
-
Assignee:
-
% Done:
0%
Description
Currently, libremakepkg
uses the chroot's makepkg.conf
when extracting sources. I think that perhaps it should use the host makepkg.conf
.
Why I think it should use the host makepkg.conf
:
- If ccache (or similar) is used in the chroot, but not outside, it will error.
- It won't know how to run librefetch. This breaks the workflow.
Why I think it should be use the chroot makepkg.conf
:
- That's what Arch's
devtools
:makechrootpkg
does (I figure the Arch devs had a reasonable reason for doing it this way). - Changing things risks breaking things.
Related issues
History
Updated by lukeshu over 9 years ago
lukeshu wrote:
- It won't know how to run librefetch. This breaks the workflow.
Derp, it will only break the workflow if the sources were generated on another box, but weren't uploaded. Since we're uploading them now, that's not an issue.
However, this is still valid:
- If ccache (or similar) is used in the chroot, but not outside, it will error.
We could try temporarily setting makepkg.conf:OPTIONS
to dissable these things during download?
Updated by lukeshu almost 5 years ago
- Related to Bug #1323: [librechroot]->mkarchroot->pacstrap uses system pacman.conf by default added