From: Michael Tremer Date: Sun, 6 Nov 2011 11:54:47 +0000 (+0100) Subject: Speed up packging of kernel. X-Git-Tag: 0.9.18~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fee3333b10e17953204fe1446244acd34a72e82;p=pakfire.git Speed up packging of kernel. Kernel modules cannot be scanned for dependencies and stuff. So just leave them out. --- diff --git a/scripts/functions-files b/scripts/functions-files index 05920c8c0..66fd56745 100644 --- a/scripts/functions-files +++ b/scripts/functions-files @@ -178,7 +178,7 @@ function find_elf_files() { for dir in ${dirs}; do dir="${prefix}${dir}" - for file in $(find ${dir} -type f 2>/dev/null); do + for file in $(find ${dir} -type f -not -name "*.ko" 2>/dev/null); do if file_is_elf ${file} && ! file_is_static ${file}; then files="${files} ${file}" fi