I think this exists, it's update-notifier; I think if you drop something in /etc/kernel/postinst.d it'll get run on a new kernel install. (I'm not sure whether it existed when you reported it 4 years ago, but it looks like update-notifier did exist back then, I just don' tknow how much it did).
** Changed in: kernel-package (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/242340 Title: Kernel update should invoke shell script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/242340/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs