From: Martin Hundebøll Date: Mon, 20 Oct 2025 07:24:23 +0000 (+0200) Subject: Match compressed pacman packages too X-Git-Tag: v26~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7db8f2cda3e8cc2adbaeb9daec7266a1c272c6df;p=thirdparty%2Fmkosi.git Match compressed pacman packages too Arch packages can be compressed using various codecs, in which case the package filename is suffixed with the compression method (e.g. .zst for zstandard compression). Make sure to find such compressed packages in the volatile package directory exposed to the build script as $PACKAGEDIR, so they are installable using VolatilePackages=. Fixes: 71ffced0 ("Rework PACKAGE_GLOBS to be a PackageManager classmethod") --- diff --git a/mkosi/installer/pacman.py b/mkosi/installer/pacman.py index 4189c1f6a..c416dfda3 100644 --- a/mkosi/installer/pacman.py +++ b/mkosi/installer/pacman.py @@ -40,7 +40,7 @@ class Pacman(PackageManager): @classmethod def package_globs(cls) -> list[str]: - return ["*.pkg.tar"] + return ["*.pkg.tar*"] @classmethod def state_subdirs(cls, state: Path) -> list[Path]: