Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1679966 Details for
Bug 1683798
supermin broken on Arch / pacman
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix pacman CacheDir handling
0001-pacman-Fix-pacman-CacheDir-handling.patch (text/plain), 1.47 KB, created by
Toolybird
on 2020-04-19 07:00:22 UTC
(
hide
)
Description:
Fix pacman CacheDir handling
Filename:
MIME Type:
Creator:
Toolybird
Created:
2020-04-19 07:00:22 UTC
Size:
1.47 KB
patch
obsolete
>From 76b74ac1bd55621b5e59c470337736d5dcb04073 Mon Sep 17 00:00:00 2001 >From: Geoff Toole <toolybird@tuta.io> >Date: Sun, 19 Apr 2020 16:40:50 +1000 >Subject: pacman: Fix pacman CacheDir handling > >Downloads fail when CacheDir directives are present in /etc/pacman.conf >Filter them out using pacman-conf. >--- > src/ph_pacman.ml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/src/ph_pacman.ml b/src/ph_pacman.ml >index c35668a..b4a6ac0 100644 >--- a/src/ph_pacman.ml >+++ b/src/ph_pacman.ml >@@ -170,6 +170,8 @@ let pacman_download_all_packages pkgs dir = > (* Because we reuse the same temporary download directory (tdir), this > * only downloads each package once, even though each call to pacman will > * download dependent packages as well. >+ * >+ * CacheDir directives must be filtered out to force pacman downloads. > *) > List.iter ( > fun name -> >@@ -178,12 +180,13 @@ let pacman_download_all_packages pkgs dir = > umask 0000 > cd %s > mkdir -p var/lib/pacman >+ pacman-conf | grep -v CacheDir > tmp.conf > %s %s%s -Syw --noconfirm --cachedir=$(pwd) --root=$(pwd) %s > " > (quote tdir) > Config.fakeroot Config.pacman > (match !settings.packager_config with >- | None -> "" >+ | None -> " --config tmp.conf --dbpath var/lib/pacman" > | Some filename -> " --config " ^ (quote filename)) > (quoted_list names) in > if !settings.debug >= 2 then printf "%s" cmd; >-- >2.26.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1683798
:
1539269
|
1555733
| 1679966 |
1691477
|
1691478