Skip to content

Commit

Permalink
fix boot_root and boot_boot set to true if there is no separated /boo…
Browse files Browse the repository at this point in the history
…t partition and booting from /boot
  • Loading branch information
jreidinger committed Jul 11, 2016
1 parent 52f090a commit 59aabc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/bootloader/autoyast_converter.rb
Expand Up @@ -190,6 +190,10 @@ def export_stage1(res, stage1)
res[key] = stage1.public_send(method) ? "true" : "false"
end

# if there is no separated boot, then root and boot partition is same, so in such case
# have only one true there
res["boot_boot"] = "false" if res["boot_root"] == "true" && res["boot_boot"] == "true"

res["boot_custom"] = stage1.custom_devices.join(",") unless stage1.custom_devices.empty?
end

Expand Down

0 comments on commit 59aabc2

Please sign in to comment.