ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: livecd ramdisk_size в UEFI режиме
Date: Sat, 7 Mar 2015 16:00:08 +0300
Message-ID: <20150307130008.GA26831@imap.altlinux.org> (raw)
In-Reply-To: <54BFB354.3080606@altlinux.com>

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

On Wed, Jan 21, 2015 at 05:10:28PM +0300, Anton Farygin wrote:
> >Это в mkimage -- tools/mki-copy-efiboot::bootparams().
> Я же говорил "из профиля" - про tools/mki-copy-efiboot
> я в курсе. Почему не сделать по человечески, по аналогии
> с mkimage-profiles-desktop/profiles/isolinux/  ?
> и не хардкодить опции в mkimage, ещё и с ошибками ?

Вчера после тестов пересмотрел ещё раз этот код,
при желании глянь приложенный коммит к mkimage.

После поддержки в профилях надо в эту EFI_BOOTARGS
вынести как минимум lowmem, чтоб там и регулировать.
Разумеется, и ramdisk_size проще туда же, чем грепать
isolinux.cfg.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info

[-- Attachment #2: 0001-mki-copy-efiboot-added-EFI_BOOTARGS-support.patch --]
[-- Type: text/x-patch, Size: 845 bytes --]

>From 73197bc65a0735577a7bc70c970895e6dc45afdc Mon Sep 17 00:00:00 2001
From: Michael Shigorin <mike@altlinux.org>
Date: Fri, 6 Mar 2015 22:52:41 +0300
Subject: [PATCH] mki-copy-efiboot: added EFI_BOOTARGS support

Things like "quiet splash" or "live_rw" could be passed there.
---
 tools/mki-copy-efiboot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mki-copy-efiboot b/tools/mki-copy-efiboot
index 82c9480..01cf9d5 100755
--- a/tools/mki-copy-efiboot
+++ b/tools/mki-copy-efiboot
@@ -142,7 +142,7 @@ copy_kernel() {
 	cp $verbose -lpLft \$boot -- syslinux/alt0/{vmlinuz,full.cz}
 }
 
-kargs="fastboot live lowmem showopts automatic=method:cdrom"
+kargs="fastboot live lowmem showopts automatic=method:cdrom ${EFI_BOOTARGS:-}"
 
 copy_elilo() {
 	cp $verbose -pLf \$efi_bindir/elilo.efi \${1:-\$bin_path}
-- 
2.1.4


  reply	other threads:[~2015-03-07 13:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-15 10:33 Anton Farygin
2015-01-15 12:31 ` Michael Shigorin
2015-01-15 13:58   ` Anton Farygin
2015-01-15 18:22     ` Michael Shigorin
2015-01-15 19:28       ` Anton Farygin
2015-01-15 21:57         ` Michael Shigorin
2015-01-16  5:32           ` Anton Farygin
2015-01-16 12:07             ` Michael Shigorin
2015-01-16 12:54               ` Anton Farygin
2015-01-16 14:35                 ` Michael Shigorin
2015-01-16 19:12                   ` Anton Farygin
2015-01-21 13:56                   ` Anton Farygin
2015-01-21 14:01                     ` Michael Shigorin
2015-01-21 14:10                       ` Anton Farygin
2015-03-07 13:00                         ` Michael Shigorin [this message]
2015-03-08  6:19                           ` Anton Farygin
2015-03-08 12:30                             ` Michael Shigorin
2015-03-09 20:24                           ` Michael Shigorin

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=20150307130008.GA26831@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git