ALT Linux Distributions development
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] mkimage-profiles 1.4.8-alt1
Date: Tue, 23 Mar 2021 04:03:32 +0700
Message-ID: <031e37bd-c957-1725-55cd-b780988d4e86@ya.ru> (raw)
In-Reply-To: <e3ce9b46-c63a-6595-00fd-3885cc505fc2@mail.ru>

23.03.2021 03:44, Артём пишет:
> $ rpm -qa mkimage
> mkimage-0.2.40-alt1.noarch
> 
> git clone http://git.altlinux.org/gears/m/mkimage-profiles.git
> 
> # cat /home/tema/mkimage-profiles/bld/.work/chroot/.work/EFI/BOOT/grub.cfg
> search --file --set=root /.disk/info
> set prefix=($root)/boot/grub
> source $prefix/grub.cfg
> 
> # cat /home/tema/mkimage-profiles/bld/.work/chroot/.work/boot/grub/grub.cfg
> insmod echo
> insmod gzio
> insmod minicmd
> insmod normal
> insmod test
> set timeout=60
> if [ "$grub_platform" = "efi" ]; then set EFI_BOOTARGS=' lang=ru_RU'; fi

А EFI_BOOTARGS нужно в профиле убрать будет, как разберёмся спереводом меню.

> if [ "$grub_platform" = "efi" -a "$grub_cpu" = "x86_64" ]; then
>         set linux_suffix='efi'
> fi
> if [ "$grub_platform" = "pc" ]; then set linux_suffix='16'; fi
> if [ ! "$lang" ]; then lang=en_US; fi

Здесь должно быть:
if [ ! "$lang" ]; then lang=ru_RU; fi

в features.in/grub/generate.mk:

	@if [ -n "$(LOCALE)" ]; then \
		sed -i "s,@LOCALE@,$(LOCALE),g" $(DSTCFGS); \
	else \
		sed -i "s, lang=.lang,,g" $(DSTCFGS); \
	fi; \

а в features.in/grub/cfg.in/00defaults.cfg:

if [ ! "$lang" ]; then lang=@LOCALE@; fi

Следовательно, LOCALE=en_US

Нужно разбираться почему. Впрочем, можно сделать:
	@(call set,LOCALE,ru_RU)

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>


  reply	other threads:[~2021-03-22 21:03 UTC|newest]

Thread overview: 19+ 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         ` Артём
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                   ` Антон Мидюков [this message]
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-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=031e37bd-c957-1725-55cd-b780988d4e86@ya.ru \
    --to=midyukov-anton@ya.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