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

Set a default value for setFirmwareClassPath in the worker config. #1170

Merged
merged 1 commit into from
Aug 11, 2024

Commits on Aug 11, 2024

  1. Set a default value for setFirmwareClassPath in the worker config.

    When firmware is added to the driver-cotnainer there are 2 actions that
    were taken:
    
    1. Copy the firmware files onto the node at `/var/lib/firmware`
    2. Add `/var/lib/firmware` to `/sys/module/firmware_class/parameters/path`
       in order to update the kernel lookup directories for firmware files.
    
    In order to make this feature configurable, we will allow the user to
    choose the path on the nodes to write the firmware files to.
    
    In order to make it work with no additional changes, when firmware files are
    added to the driver-container, we added a default directory to add the
    firmware files to on the nodes.
    
    To keep it simple, we will also always add this path to the kernel lookup
    directories.
    
    Signed-off-by: Yoni Bettan <[email protected]>
    ybettan committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    6502f43 View commit details
    Browse the repository at this point in the history