ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel-kernel@altlinux.org
Subject: Re: [d-kernel] Re: /sbin/installkernel vs DURING_INSTALL
Date: Thu, 18 Dec 2003 23:30:04 +0300
Message-ID: <20031218203004.GC1863@sirius.home> (raw)
In-Reply-To: <20031218170219.GU18450@julia.office.altlinux.ru>

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

On Thu, Dec 18, 2003 at 08:02:19PM +0300, Alexey Tourbin wrote:
> On Thu, Dec 18, 2003 at 07:29:39PM +0300, Sergey Vlasov wrote:
> > On Thu, Dec 18, 2003 at 07:20:08PM +0300, Alexey Tourbin wrote:
> > > Господа, сейчас имеется следующее:
> > > [[ -n "$DURING_INSTALL" ]] && exit 0
> > > 
> > > Мне кажется это неверным.  В процессе установки имеется важная
> > > информация об устанавливаемом ядре, а именно: %version.  Поэтому после
> > > окончания установки без дополнительной информации (heuristics) нормально
> > > установить ядро нельзя.
> > 
> > Зато в этот момент нет другой информации - о загрузчике и его настройках.
> 
> Хочется, чтобы %post скрипт ядра отрабатывал хотя бы на уровне
> модификации конфигов /etc/lilo.conf и /boot/grub/menu.lst.  Это есть
> залог того, что %postun скрипт тоже отработает правильно.  Иначе будут
> угадывания и симлинки + проблемы "с первым ядром".

Нельзя гарантировать, что пакеты grub или lilo в этот момент
установлены (вряд ли стоит прописывать в пакет ядра жёсткий PreReq на
оба загрузчика).

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-12-18 20:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18 16:20 [d-kernel] " Alexey Tourbin
2003-12-18 16:29 ` Sergey Vlasov
2003-12-18 17:02   ` [d-kernel] " Alexey Tourbin
2003-12-18 18:10     ` Alexey I. Froloff
2003-12-18 20:30     ` Sergey Vlasov [this message]
2003-12-18 20:11 ` [d-kernel] " 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=20031218203004.GC1863@sirius.home \
    --to=vsu@altlinux.ru \
    --cc=devel-kernel@altlinux.org \
    --cc=devel-kernel@altlinux.ru \
    /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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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