1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-07-05 06:50:38 +02:00

Use in-place built fsverity binary instead of installing it

Instead of making changes to the system, use in-place built fsverity binary
by adding ../fsverity-utils to the PATH variable, so that the binary can be
found with the 'command -v' command.

Don't delete the fsverity-utils directory, so that the built binary is
available. Not deleting should not be a problem, as the script is meant to
be executed in a CI environment, where cleanup is done by the CI
infrastructure itself.

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
Roberto Sassu
2023-01-26 14:58:05 +01:00
committed by Mimi Zohar
parent 0bccb5412c
commit 452f4b2eac
2 changed files with 2 additions and 3 deletions

View File

@ -30,7 +30,7 @@
# custom policy rules might take precedence.
cd "$(dirname "$0")" || exit 1
PATH=../src:$PATH
PATH=../src:../fsverity-utils:$PATH
source ./functions.sh
# Base VERBOSE on the environment variable, if set.