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,
This commit is contained in:
dantefromhell 2023-05-22 00:01:53 +00:00 committed by GitHub
parent dd0801f585
commit eafead23ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@
environment.defaultPackages = lib.mkForce [ environment.defaultPackages = lib.mkForce [
pkgs.rsync pkgs.rsync
pkgs.parted pkgs.parted
pkgs.zfs
]; ];
# zfs support is accidentally disabled by excluding base.nix, re-enable it # zfs support is accidentally disabled by excluding base.nix, re-enable it