[d-kernel] Re: new bootloader-utils

Alexey Tourbin at at altlinux.ru
Tue May 25 19:18:13 MSD 2004


On Tue, May 25, 2004 at 05:18:37PM +0400, Alexey Tourbin wrote:
> $ cd Sisyphus/i586/RPMS.classic
> $ rpm -qp --triggers --scripts kernel-*.rpm | grep '\<ln\>'
> ln -snf vmlinuz-2.4.26-std-smp-alt2 /boot/vmlinuz-smp
> ln -snf initrd-2.4.26-std-smp-alt2.img /boot/initrd-smp.img
> ln -snf vmlinuz-2.4.26-std-up-alt2 /boot/vmlinuz-up
> ln -snf initrd-2.4.26-std-up-alt2.img /boot/initrd-up.img
> ln -snf vmlinuz-2.4.26-std-up-alt2 /boot/vmlinuz
> ln -snf initrd-2.4.26-std-up-alt2.img /boot/initrd.img
> ln -snf vmlinuz-2.4.25-vs-smp-alt7.1 /boot/vmlinuz-smp
> ln -snf initrd-2.4.25-vs-smp-alt7.1.img /boot/initrd-smp.img
> $
> 
> Пока я просто предлагаю перенести все `ln -snf' из %post в /sbin/installkernel.

Впрочем, список был неполным:

$ rpm -qp --scripts --triggers kernel[^-]*.rpm | grep '\<ln\>'
ln -snf vmlinuz-2.2.26-alt1-smp-secure /boot/vmlinuz-smp-secure
ln -snf initrd-2.2.26-alt1-smp-secure.img /boot/initrd-smp-secure.img
ln -snf vmlinuz-2.2.26-alt1-up-secure /boot/vmlinuz-up-secure
ln -snf initrd-2.2.26-alt1-up-secure.img /boot/initrd-up-secure.img
$

Следует ли создавать именно такие симлинки для ядер 2.2?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.altlinux.ru/pipermail/devel-kernel/attachments/20040525/51ca7dc9/attachment.bin


More information about the devel-kernel mailing list