ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] apt-get remove и  lilo.conf
Date: Sun, 13 Nov 2011 19:08:24 +0400
Message-ID: <20111113150823.GA6379@atlas.home> (raw)
In-Reply-To: <j9od1n$bmj$1@dough.gmane.org>

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

On Sun, Nov 13, 2011 at 04:26:32PM +0400, Alexei V. Mezin wrote:
> Вроде раньше при apt-get remove kernel-image после удаления ядра 
> обновлялось содержимое lilo.conf?
> 
> А теперь ничего такого не происходит. Какой теперь официальный алгоритм 
> удаления старых ядер из системы?

Похоже, официальный алгоритм - установить загрузчик grub2, для
которого при любом изменении набора установленных ядер делается полная
перегенерация файла конфигурации.  Раньше удаление записей из
конфигурации загрузчиков делалось в скриптах %postun пакетов ядра
(вызовом /sbin/installkernel --remove %kversion-%flavour-%krelease),
однако сейчас эти скрипты оттуда выброшены, и вместо них используется
механизм filetrigger (/usr/lib/rpm/boot_kernel.filetrigger,
/usr/lib/rpm/grub2.filetrigger), однако для объявленных устаревшими
загрузчиков там /sbin/installkernel не вызывается с параметром
--remove при удалении пакетов.

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

      reply	other threads:[~2011-11-13 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-13 12:26 Alexei V. Mezin
2011-11-13 15:08 ` Sergey Vlasov [this message]

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=20111113150823.GA6379@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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