Skip to content

expose built modules as well in e.g. mnt/lib/modules  #6

@Empor-co

Description

@Empor-co

Thank you for this great tool!
I already built several version of the kernel based on it and like the ease of use.
The only tweak I'm kind of missing, is the option to "expose" the modules as well.
I could imagine, that an additional mnt/lib/modules and the corresponding volume section in e.g. podman_shell.sh docker calls would do the trick.

#!/bin/bash
# if not running privileged
# either: chmod 777 $(pwd)/mnt
# or: -v $(pwd)/mnt:/mnt:Z \
podman run --rm \
-v "$(pwd)"/mnt:/mnt \
-v "$(pwd)"/mnt/lib/modules:/lib/modules \
--privileged \
-it localhost/visionfive2:latest "$@"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions