Links in modules directory cause mkkernel to fail
viraptor opened this issue · 0 comments
viraptor commented
There's an issue with mkkernel if the /lib/modules/(version)
contains symlinks. shutil.copytree()
can deal with symlinks to files, but not to directories.
The result is error like this:
shutil.Error: [('/lib/modules/..../extramodules', '/tmp/tmpsea3yv0m/modules/extramodules', "[Errno 21] Is a directory: '/lib/modules/..../extramodules'")]
Where extramodules
is a link to another directory.