diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-15 14:40:06 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-03-26 18:20:56 -0400 |
commit | bef1b9f35ce6744c2a0bbc32f606e7bef700ffdc (patch) | |
tree | 8ae1a8d3fc86df304fe0f3fbf3fea8c31be97825 /archco.in | |
parent | f2ce2d578e61fdc07c7e41e04eb691a347775c91 (diff) | |
download | devtools32-bef1b9f35ce6744c2a0bbc32f606e7bef700ffdc.tar.xz |
makechrootpkg, arch-nspawn: Force-enable local '/repo/' repository
The change in arch-nspawn is subtle:
This was the source of "infamous" "it fails every other time" bug that
took me over a year to solve. <https://labs.parabola.nu/issues/435>
By having a repository of local packages (rather than simply running
`pacman -U`), we are inviting pacman to cache them in
`/var/cache/pacman/pkg`. Besides being needless disk writes, this
actually causes a real issue. If the package gets rebuilt, pacman
will balk, as the file no longer matches the cached signature.
So, how do we prevent pacman from caching these local packages?
Simple: include the directory they are already in in the
pacman.conf:CacheDir list. This will prevent pacman from copying
the files to one of the other cache directories.
Diffstat (limited to 'archco.in')
0 files changed, 0 insertions, 0 deletions