r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.36k stars 160 forks source link

Call `update-kernel` on alpine #836

Closed KizzyCode closed 2 years ago

KizzyCode commented 2 years ago

I want to suggest a new step Call update-kernel to update the Linux kernel on Alpine.

Which exact commands should Topgrade run? /sbin/update-kernel

As far as I can tell, there's not much else to worry about; the command usually does not need any additional parameters and simply does it's job 😊

r-darwish commented 2 years ago

I looked at the documentation. It doesn't seem like running /sbin/update-kernel is a general recommendation. Kernel upgrades should be handled by APK unless you have some specific scenario.

KizzyCode commented 2 years ago

It seems you're right. I've always used update-kernel for "diskless"/"data-disk" installs, but it seems that this step has been deprecated in favor of create-bootable.

Thank you!