]> git.ipfire.org Git - pakfire.git/commitdiff
Speed up packging of kernel.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Nov 2011 11:54:47 +0000 (12:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Nov 2011 11:54:47 +0000 (12:54 +0100)
Kernel modules cannot be scanned for dependencies and stuff.
So just leave them out.

scripts/functions-files

index 05920c8c0310ecaa707146bf540e64f6de6a74de..66fd56745f670623d7ff2bcd30cdf0c9719bd0ee 100644 (file)
@@ -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