mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-13 13:32:50 +00:00
update(falco_scripts): Change Flatcar dynlinker path
The Flatcar kernel module build needs to relocate binaries in /host/lib/modules to run with the host's ld and glibc. While testing with glibc 2.34 that we plan to introduce soon, we found that the previous dynlinker symlink (ld-xxx.so) doesn't exist any longer. Update the hostld variable to use a path that is present in all versions of glibc. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
committed by
poiana
parent
1e5ef912de
commit
bcda81f700
@@ -151,7 +151,7 @@ flatcar_relocate_tools() {
|
||||
scripts/mod/modpost
|
||||
tools/objtool/objtool
|
||||
)
|
||||
local -r hostld=$(ls /host/usr/lib64/ld-*.so)
|
||||
local -r hostld=$(ls /host/usr/lib64/ld-linux-*.so.*)
|
||||
local -r kdir=/lib/modules/$(ls /lib/modules/)/build
|
||||
echo "** Found host dl interpreter: ${hostld}"
|
||||
for host_tool in ${tools[@]}; do
|
||||
|
Reference in New Issue
Block a user