From: Артём <temap@mail.ru>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] mkimage-profiles 1.4.8-alt1
Date: Mon, 22 Mar 2021 17:49:50 +0300
Message-ID: <b21a6652-0446-898c-55f2-640ff0315b23@mail.ru> (raw)
In-Reply-To: <20210322142039.GD6660@imap.altlinux.org>
Вроде это у меня есть:
$ cat ~/mkimage-profiles/features.in/l10n/config.mk
# install locales
# setup locale
# setup console keyboard (kbd)
# setup X11 keyboard (xkb)
# install/setup additional packages
# TODO: KEYMAP for default keymap?
use/l10n:
@$(call add_feature)
@$(call add,THE_PACKAGES,glibc-locales)
@$(call add,LOCALES,en_US)
@$(call add,XKB_KEYMAPS,us)
@$(call try,LOCALE,en_US)
@$(call xport,LOCALE)
@$(call xport,LOCALES)
@$(call xport,XKB_KEYMAPS)
@$(call xport,XKB_VARIANTS)
@$(call xport,XKB_SWITCH)
@$(call xport,XKB_LED)
# see also alterator-sysconfig backend
use/l10n/xkb/switch/ctrl_shift: use/l10n
@$(call set,XKB_SWITCH,grp:ctrl_shift_toggle)
use/l10n/xkb/led/scroll: use/l10n
@$(call set,XKB_LED,grp_led:scroll)
# FIXME: derive from locale by default if possible
use/l10n/ru_RU: use/l10n/xkb/switch/ctrl_shift use/l10n/xkb/led/scroll
@$(call add,LOCALES,ru_RU)
@$(call set,LOCALE,ru_RU)
@$(call add,XKB_KEYMAPS,ru)
@$(call set,KEYTABLE,ruwin_ct_sh-UTF-8)
# NB: BOOT_LANG is used within mkimage internally
use/l10n/default/ru_RU: use/l10n/ru_RU
@$(call set,GLOBAL_BOOT_LANG,ru_RU)
Может я чего-то ещё не сделал?
Что означает:
=> use/l10n/default/ru_RU
?
22.03.2021 17:20, Michael Shigorin пишет:
> On Mon, Mar 22, 2021 at 05:09:29PM +0300, Артём wrote:
>> А где нужно поправить, чтобы в загрузочном меню был по
>> умолчанию русский язык?
> features.in/l10n/config.mk-use/l10n/default/ru_RU: use/l10n/ru_RU
> features.in/l10n/config.mk: @$(call set,GLOBAL_BOOT_LANG,ru_RU)
>
> => use/l10n/default/ru_RU
>
>> Чтобы не нужно было переключаться по F2 или в меню.
>> Сейчас загрузился в EFI и там по умолчанию английский :-(
> Вот за EFI уже не в курсе, особенно после переезда на GRUB...
>
--
С уважением, Артём
next prev parent reply other threads:[~2021-03-22 14:49 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 7:59 Антон Мидюков
2021-03-16 12:44 ` Антон Мидюков
2021-03-17 13:52 ` Michael Shigorin
2021-03-22 14:09 ` Артём
2021-03-22 14:20 ` Michael Shigorin
2021-03-22 14:28 ` Антон Мидюков
2021-03-22 14:49 ` Артём [this message]
2021-03-22 14:55 ` Антон Мидюков
2021-03-22 16:14 ` Артём
2021-03-22 20:11 ` Антон Мидюков
2021-03-22 20:44 ` Артём
2021-03-22 21:03 ` Антон Мидюков
2021-03-22 21:00 ` Артём
2021-03-22 22:24 ` Антон Мидюков
2021-03-22 22:33 ` Артём
2021-03-22 22:40 ` Артём
2021-03-23 8:11 ` Michael Shigorin
2021-03-23 8:20 ` Антон Мидюков
2021-12-09 16:01 ` Артём
2021-03-17 13:53 ` Антон Мидюков
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b21a6652-0446-898c-55f2-640ff0315b23@mail.ru \
--to=temap@mail.ru \
--cc=devel-distro@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Distributions development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
public-inbox-index devel-distro
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-distro
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git