runtime-cleanup: fix module cleanup
runtime-cleanup doesn't get a "kernels" arg, so just delete things under /modules/*/kernel/...
This commit is contained in:
parent
9edadb59fa
commit
796e0ee45f
@ -73,10 +73,8 @@ fs/ocfs2 fs/nls fs/ceph fs/nfsd fs/ubifs fs/nilfs2
|
|||||||
arch/x86/kvm
|
arch/x86/kvm
|
||||||
""".split()
|
""".split()
|
||||||
%>
|
%>
|
||||||
%for kernel in kernels:
|
%for kmodpath in removekmods:
|
||||||
%for kmodpath in removekmods:
|
remove /modules/*/kernel/${kmodpath}
|
||||||
remove /modules/${kernel.version}/kernel/${kmodpath}
|
|
||||||
%endfor
|
|
||||||
%endfor
|
%endfor
|
||||||
## FIXME: run depmod, generate module-info
|
## FIXME: run depmod, generate module-info
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user