Project

General

Profile

Bug #501

[RFC] [libremakepkg]Uses the chroot makepkg.conf when downloading sources

lukeshu - over 9 years ago - . Updated about 7 years ago.

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

Related to libretools - Bug #1323: [librechroot]->mkarchroot->pacstrap uses system pacman.conf by defaultopen2017-05-09

Actions

History

#1

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?

#2

Updated by lukeshu about 7 years ago

  • Priority changed from bug to discussion
#3

Updated by lukeshu almost 5 years ago

  • Related to Bug #1323: [librechroot]->mkarchroot->pacstrap uses system pacman.conf by default added

Also available in: Atom PDF