]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
debian/ubuntu: Always install base-files
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 3 Apr 2024 19:50:33 +0000 (21:50 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 3 Apr 2024 21:42:24 +0000 (23:42 +0200)
In some setups, there might not be any essential packages, so make
sure we always install base-files so that the base directory layout
is always populated.

Fixes #2585

mkosi/distributions/debian.py

index 4c16ca450f783b258764454ae7a9d87f1ad23533..fddbb629dbebc310cbfe5ed3400045a7b0fbda73 100644 (file)
@@ -152,7 +152,9 @@ class Installer(DistributionInstaller):
                 [
                     "-oDebug::pkgDPkgPm=1",
                     f"-oDPkg::Pre-Install-Pkgs::=cat >{f.name}",
-                    "?essential", "?exact-name(usr-is-merged)",
+                    "?essential",
+                    "?exact-name(usr-is-merged)",
+                    "base-files",
                 ],
                 mounts=[Mount(f.name, f.name)],
             )