Commit 65ceeda2 authored by jan.koester's avatar jan.koester
Browse files

test

parent b0e8a0ce
Loading
Loading
Loading
Loading
+5 −0
Changes for commands/modutils/depmod.cpp: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -179,6 +179,11 @@ namespace fresh { namespace cmd {
                struct stat st;
                if(stat(full.c_str(),&st)!=0) continue;
                if(S_ISDIR(st.st_mode)){
                    // like real depmod: not into a symlinked directory --
                    // build/ and source/ point into the kernel tree, whose
                    // own .ko files would replace the installed ones
                    struct stat lst;
                    if(lstat(full.c_str(),&lst)==0 && S_ISLNK(lst.st_mode)) continue;
                    findKoFiles(full,out);
                    continue;
                }