Skip to content

Commit

Permalink
Include manual compilation steps (#433)
Browse files Browse the repository at this point in the history
Resolves: #432

Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi authored Jan 11, 2024
1 parent c9f2066 commit ec16c7a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,41 @@ UDisks2 unlocker, respectively.
```bash
$ sudo dnf install clevis clevis-dracut clevis-udisks2
```

## Manual compilation

As remarked in the previous section, **it is suggested not to install Clevis directly**.
However, in case no Clevis packages exist for your Linux distribution, the steps to
manually compile and install Clevis are next ones:

* Download latest version of the binaries (not that the latest version could change):
```bash
$ wget https://github.com/latchset/clevis/releases/download/v19/clevis-19.tar.xz
```

* Untar the binaries file:
```bash
$ tar Jxvf clevis-19.tar.xz
```

* Create build directory and change path to it:
```bash
$ cd clevis-19
$ mkdir build
$ cd build
```

* Execute `meson` to setup compilation:
```bash
$ meson setup ..
```

* Compile with `ninja` command:
```bash
$ ninja
```

* Install with `ninja install` command (you will need root permissions for it):
```bash
$ sudo ninja install
```

0 comments on commit ec16c7a

Please sign in to comment.