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:

committed by
Mimi Zohar

parent
0bccb5412c
commit
452f4b2eac
@ -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.
|
||||
|
Reference in New Issue
Block a user