Skip to content

Commit

Permalink
changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 1, 2016
1 parent 8d31e99 commit fdb5898
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package/yast2-bootloader.changes
@@ -1,7 +1,8 @@
-------------------------------------------------------------------
Tue Nov 1 11:49:05 UTC 2016 - jreidinger@suse.com

- start using system locale when generating grub menu (bsc#998152)
- Use the system-wide locale (/etc/sysconfig/language:RC_LANG) when
generating the GRUB2 menu (bsc#998152)
- 3.2.5

-------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/lib/bootloader/grub2base.rb
Expand Up @@ -96,7 +96,7 @@ def write
@sections.write
@password.write
Yast::Execute.on_target("/usr/sbin/grub2-mkconfig", "-o", "/boot/grub2/grub.cfg",
env: system_locale)
env: systemwide_locale)
end

def propose
Expand Down Expand Up @@ -150,7 +150,7 @@ def disable_serial_console

private

def system_locale
def systemwide_locale
begin
language = ::Bootloader::Language.new
language.load
Expand Down

0 comments on commit fdb5898

Please sign in to comment.