osbuild2: remove redundant option set condition
The Legacy stage option is always set to the value from the function argument unconditionally. This condition is useless. Co-Authored-By: Christian Kellner <christian@kellner.me>
This commit is contained in:
parent
e9daacd1dd
commit
a7c702c4ae
1 changed files with 0 additions and 4 deletions
|
|
@ -74,10 +74,6 @@ func NewGrub2StageOptions(pt *disk.PartitionTable,
|
|||
}
|
||||
}
|
||||
|
||||
if !uefi {
|
||||
stageOptions.Legacy = legacy
|
||||
}
|
||||
|
||||
if kernel != nil {
|
||||
if kernel.Append != "" {
|
||||
stageOptions.KernelOptions += " " + kernel.Append
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue