* [sisyphus] apt-get remove и lilo.conf
@ 2011-11-13 12:26 Alexei V. Mezin
2011-11-13 15:08 ` Sergey Vlasov
0 siblings, 1 reply; 2+ messages in thread
From: Alexei V. Mezin @ 2011-11-13 12:26 UTC (permalink / raw)
To: sisyphus
Вроде раньше при apt-get remove kernel-image после удаления ядра
обновлялось содержимое lilo.conf?
А теперь ничего такого не происходит. Какой теперь официальный алгоритм
удаления старых ядер из системы?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sisyphus] apt-get remove и lilo.conf
2011-11-13 12:26 [sisyphus] apt-get remove и lilo.conf Alexei V. Mezin
@ 2011-11-13 15:08 ` Sergey Vlasov
0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2011-11-13 15:08 UTC (permalink / raw)
To: sisyphus
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-13 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-13 12:26 [sisyphus] apt-get remove и lilo.conf Alexei V. Mezin
2011-11-13 15:08 ` Sergey Vlasov
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