The following additional testes were done:
1.) checkout my old kernel 4.9 branch and compile, using the same kernel configuration file from back then. It seems to want to delete that kernel also. (4.9.0-test)
2.) Observing that all the kernels it seems to want to delete have names with 4.N.0-string and all the others have names with 4.N.0-string-string, then re-compile kernel 4.9 again but call it -test-test (4.9.0-test-test). Not only did the script not want to purge that kernel without me asking for it, it also no longer wanted to purge 4.9.0-test.
The following additional testes were done: string, then re-compile kernel 4.9 again but call it -test-test (4.9.0-test-test). Not only did the script not want to purge that kernel without me asking for it, it also no longer wanted to purge 4.9.0-test.
1.) checkout my old kernel 4.9 branch and compile, using the same kernel configuration file from back then. It seems to want to delete that kernel also. (4.9.0-test)
2.) Observing that all the kernels it seems to want to delete have names with 4.N.0-string and all the others have names with 4.N.0-string-