Skip to content

Commit

Permalink
changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Aug 30, 2016
1 parent acd4897 commit 3a02d1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/yast2-bootloader.changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Tue Aug 30 13:31:14 UTC 2016 - jreidinger@suse.com

- import properly device map in autoyast profile (found during
debugging bnc#995627)
- log device map entries before written down to allow easier
- log device map entries before written them, to allow easier
debugging of augeas lenses failure (bnc#995627)
- 3.1.203

Expand Down
3 changes: 3 additions & 0 deletions src/lib/bootloader/autoyast_converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def export(config)
export_grub2(global, config) if config.name == "grub2"
export_stage1(global, config.stage1) if config.respond_to?(:stage1)
export_default(global, config.grub_default)
# Do not export device map as device name are very unpredictable and is used only as
# work-around when automatic ones do not work for what-ever reasons ( it can really safe
# your day in L3 )

res
end
Expand Down
2 changes: 1 addition & 1 deletion src/lib/bootloader/device_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def read
end

def write
log.info "writting device map: #{to_s}"
log.info "writing device map: #{to_s}"
@model.save
end

Expand Down

0 comments on commit 3a02d1e

Please sign in to comment.