fix: remove runit-void along with runit when using dinit

This commit is contained in:
2026-08-27 22:08:36 +02:00
parent a9dad9bdf4
commit ead0f4675f
+1 -1
View File
@@ -38,7 +38,7 @@ class Void(Distro):
# remove runit if we're using dinit # remove runit if we're using dinit
if init == "dinit": if init == "dinit":
self._run_chroot(rootfs, [self._tool_chroot("xbps-remove"), "-y", "runit"]) self._run_chroot(rootfs, [self._tool_chroot("xbps-remove"), "-yoy", "runit", "runit-void"])
def install_packages(self, rootfs: Path, packages: list[str]) -> None: def install_packages(self, rootfs: Path, packages: list[str]) -> None:
if not packages: if not packages: