From eafead23ae99ef8d9cd8f3f22636c64dcd7d17e1 Mon Sep 17 00:00:00 2001 From: dantefromhell <90508808+dantefromhell@users.noreply.github.com> Date: Mon, 22 May 2023 00:01:53 +0000 Subject: [PATCH] Add zfs packages ZFS related binaries like `zpool`, `zfs` and `zdb` were missing from the kexec image. This PR fixes the following issues I encountered during testing in the OVH "Public Cloud": - Machines pre-installed with Debian 11 print error `zdb: command not found` during `disk-deactivate` when trying to remove `/dev/sda14` - Trying to create a simple zpool + zfs dataset that is mounted as `/` fails with `zpool: command not found` On OVH machines the installer would print an error being unable to locate the `zdb` binary, --- nix/noninteractive.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/noninteractive.nix b/nix/noninteractive.nix index bcdad55..fabe6a7 100644 --- a/nix/noninteractive.nix +++ b/nix/noninteractive.nix @@ -21,6 +21,7 @@ environment.defaultPackages = lib.mkForce [ pkgs.rsync pkgs.parted + pkgs.zfs ]; # zfs support is accidentally disabled by excluding base.nix, re-enable it