mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
ci/install_libseccomp: Fix fail when DESTDIR is set
If DESTDIR is set on the environment then gperf will be installed in an unexpected directory, resulting on the libseccomp's configure not being able to find it. To avoid that issue this changed the ci/install_libseccomp.sh so that PREFIX and DESTDIR are unset inside the script. Fixes #2932 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
53a9f9460f
commit
98b4406196
@ -14,6 +14,11 @@ clone_tests_repo
|
||||
|
||||
source "${tests_repo_dir}/.ci/lib.sh"
|
||||
|
||||
# The following variables if set on the environment will change the behavior
|
||||
# of gperf and libseccomp configure scripts, that may lead this script to
|
||||
# fail. So let's ensure they are unset here.
|
||||
unset PREFIX DESTDIR
|
||||
|
||||
arch=$(uname -m)
|
||||
|
||||
# Variables for libseccomp
|
||||
|
Loading…
Reference in New Issue
Block a user