On Thu, Mar 24, 2022 at 12:52:24AM +0000, Luca Boccassi wrote: > Have you checked if the --clean-package-metadata= option is the cause? > > CleanPackageMetadata=, --clean-package-metadata= > Enable/disable removal of package manager databases, caches, > and logs at the end of installation. > Can be specified as true, false, or “auto” (the default). > With “auto”, files will be removed if the > respective package manager executable is not present at the end > of the installation.
I just tried, and that does not seem to be the cause: $ sudo /usr/bin/mkosi --distribution=fedora --release=34 --format=directory --output=target --base-packages=true --package=bash,rootfiles,dbus,dnf --clean-package-metadata=false … $ sudo systemd-nspawn --volatile -D target Spawning container target on /home/enrico/lavori/arpa/moncic-ci/target. Press ^] three times within 1s to kill container. -bash-5.1# rpm -qa -bash-5.1# rpmdb --rebuilddb -bash-5.1# rpm -qa -bash-5.1# ls -la /var/lib/rpm total 240 drwxr-xr-x 2 0 0 100 Mar 24 13:08 . drwxr-xr-x 3 0 0 60 Mar 24 13:08 .. -rw-r--r-- 1 0 0 212992 Mar 24 13:08 rpmdb.sqlite -rw-r--r-- 1 0 0 32768 Mar 24 13:08 rpmdb.sqlite-shm -rw-r--r-- 1 0 0 0 Mar 24 13:08 rpmdb.sqlite-wal -bash-5.1# Enrico -- GPG key: 4096R/634F4BD1E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>
signature.asc
Description: PGP signature