]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
arch: use base package instead of base group 381/head
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>
Fri, 8 Nov 2019 09:41:02 +0000 (10:41 +0100)
committerJoerg Behrmann <behrmann@physik.fu-berlin.de>
Fri, 8 Nov 2019 09:49:00 +0000 (10:49 +0100)
Arch has changed its base package group to a meta package that pulls in several
other packages as dependencies. It is slimmer than the package group was before
and necessary to request support, so we can (and should) install it in full.

https://www.archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/

Original-Author: @keur
Closes: #377
mkosi

diff --git a/mkosi b/mkosi
index 22aea8caba5400cb61fc035594995385e72f1439..40452de49c1424b8b72d6d924b36c979aaf2ea1e 100755 (executable)
--- a/mkosi
+++ b/mkosi
@@ -1943,24 +1943,8 @@ SigLevel    = Required DatabaseOptional TrustAll
     run_pacman_key(["--populate", keyring])
 
     run_pacman(["-Sy"])
-    # determine base packages list from base group
-    c = run_pacman(["-Sqg", "base"], stdout=PIPE, universal_newlines=True)
-    packages = set(c.stdout.split())
-    packages -= {
-        "cryptsetup",
-        "device-mapper",
-        "dhcpcd",
-        "e2fsprogs",
-        "jfsutils",
-        "linux",
-        "lvm2",
-        "man-db",
-        "man-pages",
-        "mdadm",
-        "netctl",
-        "reiserfsprogs",
-        "xfsprogs",
-    }
+    # the base metapackage is mandatory
+    packages = {"base"}
 
     official_kernel_packages = {
         "linux",