Package: initramfs-tools

I use one hard drive on several different ARM machines for tests from
time to time, so I have kernels for different subarches installed.
/boot/vmlinux may point to a kernel that is not the current subarch.
When I ran update-initramfs with a specific kernel, I get the
following:

| foobar:/etc/initramfs-tools# update-initramfs -u -k 2.6.28-1-ixp4xx
| update-initramfs: Generating /boot/initrd.img-2.6.28-1-ixp4xx
| Kernel /boot/vmlinuz-2.6.29-rc8-kirkwood does not match your subarchitecture
| ixp4xx, therefore not writing it to flash.

Now this situation is not common, but it shows a more general problem:
when /boot/vmlinux points to version 1 but you run update-initramfs on
version 2 it will still write version 1 to flash.  I think it should
either write version 2 to flash or not write anything to flash (and
only update the ramdisk on disk).

The easiest solution is probably to pass a specific version to
flash-kernel.

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to