-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set a default value for
setFirmwareClassPath
in the worker config. (#…
…1170) 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]>
- Loading branch information
Showing
6 changed files
with
181 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ metrics: | |
worker: | ||
runAsUser: 0 | ||
seLinuxType: spc_t | ||
#FIXME: rename | ||
setFirmwareClassPath: /var/lib/firmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.