Merge remote-tracking branch 'upstream/stable-0.15.x' into stable-0.15.x

This commit is contained in:
Ste74 2018-09-27 19:52:52 +02:00
commit 2c76ba5d6c
No known key found for this signature in database
GPG key ID: 8DB9F8C18DF53602
2 changed files with 5 additions and 2 deletions

View file

@ -87,6 +87,9 @@ prepare_grub(){
cp ${data}/unicode.pf2 ${grub}
cp -r ${data_live}/{locales,tz} ${grub}
msg2 "Set menu_show_once=1 in '${grub}/grubenv'"
grub-editenv ${grub}/grubenv set menu_show_once=1
local size=4M mnt="${mnt_dir}/efiboot" efi_img="$2/efi.img"
msg2 "Creating fat image of %s ..." "${size}"
truncate -s ${size} "${efi_img}"

View file

@ -257,8 +257,8 @@ write_locale_conf(){
echo "---" > "$conf"
echo "localeGenPath: /etc/locale.gen" >> "$conf"
if ${geoip}; then
echo "geoipUrl: https://geoip.tools/v1" >> "$conf"
echo "geoipStyle: legacy" >> "$conf"
echo "geoipUrl: https://geoip.kde.org/v1/calamares" >> "$conf"
echo "geoipStyle: json" >> "$conf"
else
echo "region: America" >> "$conf"
echo "zone: New_York" >> "$conf"