]> git.ipfire.org Git - thirdparty/mkosi.git/commit
pacman: Always bind mount /var/lib/pacman/local from sandbox 3631/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 27 Mar 2025 16:27:02 +0000 (17:27 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 27 Mar 2025 16:43:17 +0000 (17:43 +0100)
commit97553ce32a3e0b48f71d6de774fdead2f4181597
treeb3fedcbef2d4dde9b82fc5d5b761aa5c96658750
parent204d2a5136cad09d01aefe62e4b9bf51ac84c705
pacman: Always bind mount /var/lib/pacman/local from sandbox

We want any writes to /var/lib/pacman/local to go to any configured
overlayfs on /buildroot, instead of going directly to the
/var/lib/pacman/local directory which might be a lowerdir in the
overlayfs if one is used. Let's implement this by simply specifying
a path relative to the sandbox instead of specifying the path on the
host.

Fixes #3625
mkosi/installer/pacman.py