Bug 1964052 - [PATCH] pacman: Skip over detached signatures when unpacking
Summary: [PATCH] pacman: Skip over detached signatures when unpacking
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: supermin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-24 15:48 UTC by Evangelos Foutras
Modified: 2021-05-24 16:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-05-24 16:13:35 UTC
Embargoed:


Attachments (Terms of Use)
[PATCH] pacman: Skip over detached signatures when unpacking (960 bytes, application/mbox)
2021-05-24 15:48 UTC, Evangelos Foutras
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.