# Zlevis

A minimal fork of [Clevis](https://github.com/latchset/clevis), rewritten in POSIX shell to accommodate automatic decryption of a ZFS root pool with TPM2. 

## Installation

Zlevis can be installed with `meson`, after cloning the repository, setup the build directory

```
$ meson setup builddir
```

> Using the `--prefix=/usr` flag will install `zlevis` in `/usr/bin` instead of `/usr/local/bin`. 

> Using the `--reconfigure` flag will reconfigure the build directory.

Installation of the zlevis scripts is now performed with

```
# meson install -C builddir
```