Skip to content

Commit

Permalink
cpu_mitigations
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Apr 27, 2023
1 parent 70d2628 commit bacc640
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/lib/bootloader/grub2base.rb
Expand Up @@ -97,7 +97,9 @@ def pmbr_setup(*devices)
end

def cpu_mitigations
CpuMitigations.from_kernel_params(grub_default.kernel_params)
ret = CpuMitigations.from_kernel_params(grub_default.kernel_params)
log.info "xxxxxxxxxxxxx #{ret}"
return ret
end

def explicit_cpu_mitigations
Expand Down
2 changes: 1 addition & 1 deletion src/lib/bootloader/systemdboot.rb
Expand Up @@ -29,7 +29,7 @@ def initialize
end

def cpu_mitigations
return nil # manual set
return false # manual set
end

def cpu_mitigations=(value)
Expand Down

0 comments on commit bacc640

Please sign in to comment.