Bug 1964052

Summary: [PATCH] pacman: Skip over detached signatures when unpacking
Product: [Community] Virtualization Tools Reporter: Evangelos Foutras <evangelos>
Component: superminAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-24 16:13:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[PATCH] pacman: Skip over detached signatures when unpacking none

Description Evangelos Foutras 2021-05-24 15:48:25 UTC
Created attachment 1786511 [details]
[PATCH] pacman: Skip over detached signatures when unpacking

With pacman 6 the logic in pacman_download_all_packages needs to be adjusted to ignore the detached signatures that pacman fetches along with the packages.

I have attached a quick patch to supermin that allows libguestfs to successfully build on Arch with pacman 6. (I'm not sure if the [[ ]] bash-ism introduced is OK though.)

Comment 1 Richard W.M. Jones 2021-05-24 16:13:35 UTC
Thanks - applied and pushed.

By the way you can just email patches to libguestfs (no need
to subscribe).  It might be easier.

Comment 2 Richard W.M. Jones 2021-05-24 16:14:36 UTC
> I'm not sure if the [[ ]] bash-ism introduced is OK though.

As long as /bin/sh is always bash on Arch I think it's OK.