From 975d1652285676f1ffe174a2118a19dcbbb6bb56 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Wed, 19 Jun 2024 21:56:55 +0300 Subject: [PATCH] add ld library function --- src/kernel_pkg/mod.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/kernel_pkg/mod.rs b/src/kernel_pkg/mod.rs index 5cef474..8e1d6da 100644 --- a/src/kernel_pkg/mod.rs +++ b/src/kernel_pkg/mod.rs @@ -154,10 +154,11 @@ fn add_package_rows( .to_owned() .unwrap() .to_string(); - let kernel_min_x86_march = kernel["min_x86_march"] - .as_u64() - .to_owned() - .unwrap(); + //let kernel_min_x86_march = kernel["min_x86_march"] + // .as_str() + // .to_owned() + // .unwrap() + // .to_string(); let kernel_package_version = match Command::new("/usr/lib/fedora-kernel-manager/scripts/get_version.sh") .args([&kernel_package]) .output() { @@ -441,7 +442,7 @@ fn get_cpu_feature_level() -> String { .spawn() // Once configured, we actually spawn the command... .unwrap(); // and assert everything went right. let grep_command = Command::new("grep") - .arg("(supported, searched2)") + .arg("(supported, searched)") .stdin(Stdio::from(base_command.stdout.unwrap())) .stdout(Stdio::piped()) .spawn()