google / novm

Experimental KVM-based VMM for containers, written in Go.
Apache License 2.0
1.68k stars 123 forks source link

Links in modules directory cause mkkernel to fail #39

Open viraptor opened 9 years ago

viraptor commented 9 years ago

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.