add normal fedora kernels
This commit is contained in:
parent
c86eca1729
commit
a4ae3d6f58
11
data/db_kernel.json
Normal file
11
data/db_kernel.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"latest_kernel_version_deter_pkg": "kernel",
|
||||
"kernels": [
|
||||
{
|
||||
"name": "Default Kernel",
|
||||
"main_package": "kernel",
|
||||
"packages": "kernel kernel-devel-matched",
|
||||
"min_x86_march": "1"
|
||||
}
|
||||
]
|
||||
}
|
5
data/kernel_branches/kernel.json
Normal file
5
data/kernel_branches/kernel.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "kernel (RPM Default)",
|
||||
"db_url": "https://raw.githubusercontent.com/CosmicFusion/fedora-kernel-manager/main/data/db_kernel.json",
|
||||
"init_script": "true"
|
||||
}
|
@ -511,7 +511,7 @@ fn create_kernel_badges(
|
||||
.args(["version", &kernel_version_deter])
|
||||
.output()
|
||||
{
|
||||
Ok(t) => String::from_utf8(t.stdout).unwrap().trim(),
|
||||
Ok(t) => String::from_utf8(t.stdout).unwrap().trim().to_owned(),
|
||||
_ => "0.0.0".to_owned(),
|
||||
};
|
||||
|
||||
@ -535,7 +535,7 @@ fn create_kernel_badges(
|
||||
));
|
||||
badge_box.append(&create_kernel_badge(
|
||||
&t!("kernel_badge_latest_version_label").to_string(),
|
||||
kernel_version,
|
||||
&kernel_version,
|
||||
"background-accent-bg",
|
||||
&kernel_badges_size_group,
|
||||
&kernel_badges_size_group0,
|
||||
|
Loading…
Reference in New Issue
Block a user