feat: add linglong-specific path to CDI search path - #1791
Conversation
Signed-off-by: reddevillg <reddevillg@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: reddevillg The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
deepin pr auto review★ 总体评分:85分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 std::optional<bool> enableAtSpiSocketMount;
bool privileged{ false };
std::vector<std::string> capsAdd;
// UOS/linglong 自定义 CDI 规范路径,置于首位确保自定义设备注入优先于系统默认配置加载
std::vector<std::string> cdiSpecDir = { "/etc/linglong/cdi", "/etc/cdi", "/var/run/cdi" };
std::vector<std::string> cdiDevices;
std::vector<api::types::v1::DeviceOption> deviceOptions; |
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
No description provided.