Project

General

Profile

Bug #242

Make locally built packages available in the chroot

fauno - over 11 years ago - . Updated almost 11 years ago.

Status:
fixed
Priority:
feature
Category:
-
Assignee:
-
% Done:

100%


Description

original title was: "make cachedir/pkgdest a local repo"

This is currently supported with the "file:///repo" repository, which should apparently be enabled by default.


Related issues

Has duplicate libretools - Bug #241: make pkgdest equal to cachedirnot-a-bug2012-11-28

Actions

History

#2

Updated by mtjm over 11 years ago

I.e. just what would be done by adding /repo to pacman.conf and removing its files (and updating its repo.db) after a successful librerelease?

#3

Updated by lukeshu over 11 years ago

mtjm: yes, exactly that. I don't think fauno realized what /repo was.

#4

Updated by lukeshu over 11 years ago

So we need to work out a way to automagically add "file:///repo" to pacman.conf in the chroot.

#5

Updated by mtjm over 11 years ago

Is there any need to customize pacman.conf in the chroot, other than to install dependencies of packages to build from repos like pcr (and to disable CheckSpace)? Automatically writing a new pacman.conf would be simpler.

#6

Updated by lukeshu over 11 years ago

devtools has a different pacman.conf that it inserts depending on what repo you are building for, but we've typically rejected that approach. I mentioned going to that once on IRC, but every one was pretty against that, saying KISS.

#8

Updated by mtjm over 11 years ago

Do we have any rational arguments against using fixed libretools-provided makepkg.confs and pacman.confs? It would help make builds more predictable.

#9

Updated by lukeshu almost 11 years ago

mtjm: no real arguments that I've heard.

However, automatically adding "file:///repo" to pacman.conf is now (in git) done automatically by libremakepkg, so this task done.

Also available in: Atom PDF