fix: remove runit-void along with runit when using dinit
This commit is contained in:
@@ -38,7 +38,7 @@ class Void(Distro):
|
||||
|
||||
# remove runit if we're using 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:
|
||||
if not packages:
|
||||
|
||||
Reference in New Issue
Block a user