Loading commands/modutils/depmod.cpp +5 −0 Changes for commands/modutils/depmod.cpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
commands/modutils/depmod.cpp +5 −0 Changes for commands/modutils/depmod.cpp: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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; } Loading