]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
gentoo: don't bother with @system set and bash
authorPaymon MARANDI <Paymon MARANDI darwinskernel@gmail.com>
Wed, 21 Jun 2023 15:23:13 +0000 (11:23 -0400)
committerPaymon MARANDI <darwinskernel@gmail.com>
Fri, 23 Jun 2023 13:31:40 +0000 (09:31 -0400)
Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
mkosi/distributions/gentoo.py

index 0e5f4540020f4ba6546fe80ed3df4dac74da6881..b26336a8fd6532d4f6de56917e9b740f95c23314 100644 (file)
@@ -223,12 +223,12 @@ class GentooInstaller(DistributionInstaller):
                               bwrap_params=bwrap_params, network=True)
 
         opts = [
-            "--with-bdeps=n",
             "--complete-graph-if-new-use=y",
             "--verbose-conflicts",
             "--changed-use",
             "--newuse",
             "--root-deps=rdeps",
+            "--with-bdeps=n",
         ]
         with complete_step("Merging stage2"):
             invoke_emerge(state, sysroot=cls.stage3_cache,
@@ -241,7 +241,7 @@ class GentooInstaller(DistributionInstaller):
         with complete_step("Merging bare minimal atoms"):
             invoke_emerge(state, sysroot=cls.stage3_cache,
                           opts=opts+["--exclude", "sys-devel/*"],
-                          pkgs=["app-shells/bash", "sys-apps/systemd"],
+                          pkgs=["sys-apps/systemd"],
                           env=emerge_vars)
 
         if state.config.make_initrd:
@@ -249,8 +249,6 @@ class GentooInstaller(DistributionInstaller):
 
         invoke_emerge(state, sysroot=cls.stage3_cache, opts=opts,
                       pkgs=["sys-kernel/gentoo-kernel-bin"])
-        invoke_emerge(state, sysroot=cls.stage3_cache, opts=opts,
-                      pkgs=["@system"])
 
     @classmethod
     def install_packages(cls, state: MkosiState, packages: Sequence[str]) -> None: