diff --git a/find-provides.ksyms b/find-provides.ksyms index aa656e1..ccad20b 100755 --- a/find-provides.ksyms +++ b/find-provides.ksyms @@ -3,6 +3,10 @@ IFS=$'\n' export LC_ALL=C +# Prevent elfutils from trying to download debuginfos +unset DEBUGINFOD_URLS + + for module in $(grep -E '/lib/modules/.+\.ko(\.gz|\.bz2|\.xz|\.zst)?$') "$@"; do dep_pfx="ksym" # For built-in kmods, "kernel()" syntax is used instead of "ksym()" diff --git a/find-requires.ksyms b/find-requires.ksyms index e2cd33b..9735a8f 100755 --- a/find-requires.ksyms +++ b/find-requires.ksyms @@ -7,6 +7,10 @@ IFS=$'\n' +# Prevent elfutils from trying to download debuginfos +unset DEBUGINFOD_URLS + + # Extract all of the symbols provided by this module. all_provides() { for module in "$@"; do