[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#523735: please consider supporting the experimental kernel-package out of the box



2009/10/29 maximilian attems <max@stro.at>:
> On Thu, Oct 29, 2009 at 06:07:06PM +0100, Michal Suchanek wrote:
>> 2009/10/29 maximilian attems <max@stro.at>:
>> > On Thu, Oct 29, 2009 at 05:36:28PM +0100, Michal Suchanek wrote:
>> >> 2009/10/29 maximilian attems <max@stro.at>:
>> >> > On Wed, Oct 28, 2009 at 01:21:27PM +0100, Michal Suchanek wrote:
>> >>
>> >> Indeed, downloading a replacement script from gitweb seems to work.
>> >>
>> >> However, unlike the official kernel scripts this one does not say it
>> >> is creating an initrd.
>> >
>> > sorry didn't get the difference in behaviour, can you please be
>> > more explicit, thanks
>> >
>> >
>>
>> This is the output of upgrading an official kernel:
>>
>> Setting up linux-image-2.6.26-2-686 (2.6.26-19lenny1) ...
>> Running depmod.
>> Running mkinitramfs-kpkg.
>> Deprecation WARNING: use update-initramfs(8)
>> Not updating initrd symbolic links since we are being updated/reinstalled
>> (2.6.26-19 was configured last, according to dpkg)
>> Not updating image symbolic links since we are being updated/reinstalled
>> (2.6.26-19 was configured last, according to dpkg)
>> Running postinst hook script update-grub.
>> Generating grub.cfg ...
>> Found linux image: /boot/vmlinuz-2.6.32-rc3
>> Found initrd image: /boot/initrd.img-2.6.32-rc3
>> Found linux image: /boot/vmlinuz-2.6.30-2-686
>> Found initrd image: /boot/initrd.img-2.6.30-2-686
>> Found linux image: /boot/vmlinuz-2.6.30-1-686
>> Found initrd image: /boot/initrd.img-2.6.30-1-686
>> Found linux image: /boot/vmlinuz-2.6.26-2-686
>> Found initrd image: /boot/initrd.img-2.6.26-2-686
>> done
>> Examining /etc/kernel/postinst.d.
>> run-parts: executing /etc/kernel/postinst.d/initramfs-tools
>>
>>
>> Obviously, the /etc/kernel/postinst.d/initramfs-tools hook is run for
>> every kernel (and it seems to run at the wrong time btw) so the fact
>> it is running does not say anything.
>
> wrong time?
> for grub it shouldn't matter at all and for lilo update-initramfs
> will take care.

It does matter for grub because if update-grub does not see the initrd
it is not included.

There is something that triggers update-grub once more later, though.

>
>> However, the official kernel also says "Running mkinitramfs-kpkg."
>
> that changed to u-i in newer linux-2.6 :)
>
> ah so you want an output of the script, sorry misread, well why not..

Well, some indication that something is actually going on is quite
helpful at times.


Thanks

Michal



Reply to: