Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cbuild: Avoid permission denied error due to SElinux #986

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 20, 2021

  1. cbuild: Avoid permission denied error due to SElinux

    When using SELinux for controlling processes within a container,
    we need to make  sure any content that gets volume mounted into
    the container is readable.
    
    Use :Z option for volume mounts, so docker will set correct labels.
    
    This change fixes the error below:
    ➜  rdma-core git:(master) buildlib/cbuild make centos7
    CMake Error: The source directory "/home/leonro/src/rdma-core" does not appear to contain CMakeLists.txt.
    Specify --help for usage, or press the help button on the CMake GUI.
    ....
    
    Signed-off-by: Leon Romanovsky <[email protected]>
    rleon committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    cada186 View commit details
    Browse the repository at this point in the history