This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Description
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.