Add Dependabot, Update Dependencies and Workflows (#1440)
Build may fail because of some major dependency updates. Needs changes, changes/fixes welcomed. Main goal is keeping all things up-to-date. --------- Co-authored-by: weishu <twsxtd@gmail.com>
This commit is contained in:
@@ -72,7 +72,7 @@ fn parse_kmi_from_modules() -> Result<String> {
|
||||
let output = Command::new("modinfo")
|
||||
.arg("/vendor/lib/modules/fips140.ko")
|
||||
.output()?;
|
||||
for line in output.stdout.lines().flatten() {
|
||||
for line in output.stdout.lines().map_while(Result::ok) {
|
||||
if line.starts_with("vermagic") {
|
||||
return parse_kmi(&line);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user