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

Links in modules directory cause mkkernel to fail #39

@viraptor

Description

@viraptor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions