From 09748712fb8d632f6418f8548ce1ea983c4a615a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 24 Nov 2021 18:55:55 +0100 Subject: [PATCH] Note libzfs 2.1 works --- README.md | 2 +- pp.awk | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 07925a2..b4d61c6 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ and initramfs-tools (with/without Plymouth) are supported for [ZFS-on-root](http ### Building -You'll need `pkg-config`, `shellcheck`, `libzfslinux-dev` (0.8.x and 2.0.x work), `libtss2-dev`, `libtspi-dev`, and `make` should hopefully Just Work™ if you have a C++17-capable compiler. +You'll need `pkg-config`, `shellcheck`, `libzfslinux-dev` (0.8.x and 2.[01].x work), `libtss2-dev`, `libtspi-dev`, and `make` should hopefully Just Work™ if you have a C++17-capable compiler. The output binaries are trimmed of extraneous dependencies, so they're all just libc + libzfs and friends + the chosen TPM back-end, if any. `mandoc` is required for HTML manuals. Set `MANDOC=true` to forgo this. diff --git a/pp.awk b/pp.awk index 6330ebc..8785911 100644 --- a/pp.awk +++ b/pp.awk @@ -34,8 +34,6 @@ function input() { while((getline < incfile) == 1) input() incfile = "" - } else if(NF >= 1 && $1 == "#comment") { - // just dont } else if(NF >= 2 && $1 == "#define") { split($2, nameargs, "(") macroname = nameargs[1]