set en_US locale for botttom grub2 menu

This commit is contained in:
betcher 2022-02-01 10:45:01 +03:00
parent f7467022d8
commit b61a08961c
2 changed files with 10 additions and 3 deletions

7
.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
BUILD
BUILDROOT
RPMS
SRPMS
SPECS
*.buildlog
*.tar.gz

View file

@ -1,5 +1,5 @@
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 9447640..9f5b83b 100644
index 9447640..a51834a 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -48,7 +48,7 @@ class LiveImageCreatorBase(LoopImageCreator):
@ -165,7 +165,7 @@ index 9447640..9f5b83b 100644
+ print('bootis=UEFI:', file=f)
+ else:
+ print('bootis=""', file=f)
+ print('lang=ru_RU', file=f)
+ print('lang=en_US', file=f)
+ print('export lang', file=f)
+ print('export root', file=f)
+ print('export prefix', file=f)
@ -806,7 +806,7 @@ index 9447640..9f5b83b 100644
+ with open('./grub.cfg', 'w') as f:
+ print('search.file /EFI/BOOT/grub.cfg root', file=f)
+ print('prefix=($root)/EFI/BOOT', file=f)
+ print('lang=ru_RU', file=f)
+ print('lang=en_US', file=f)
+ print('export lang', file=f)
+ print('export root', file=f)
+ print('export prefix', file=f)