I'm using lvm2 on one of my raspis.
To do so I have to use an initramfs.
I use initramfs-tools to generate the initramfs file.
Now my question is:
What happens if the kernel gets updated by apt-get update and the new kernel is incompatible with the modules in the intramfs?
Does the kernel update fire a trigger for an initramfs update (like the installation of lvm did)?
What happens if the kernel version number changes and the config.txt needs to be changed to reflect the new file name?
On an ordinary x86 linux this is all handled automatically.
What I think will happen is that the system becomes unbootable and cannot easily be recovered.
Would it be possible to implement a mechanism to automatically update the initramfs (if one is configured) to the updated kernel?
Otherwise it's quite possible that the usage of initramfs for "mainstream" users is not practical on the pi.
Regards
Aydan