Correct me if I'm wrong, but isn't `manual_add_modules` exposed to user-configuration? User configuration in /etc/initramfs-tools/hooks is expected to include /usr/share/initramfs-tools/hook-functions, and so making this API break has the possibility of causing currently working user configurations to fail, resulting in unbootable systems?
I don't think you can change the behaviour of `manual_add_modules` this way in an SRU.
Alternatively, could you change it so that `apply_add_modules` is run exactly once, after all the hooks have been run?
Correct me if I'm wrong, but isn't `manual_ add_modules` exposed to user-configuration? User configuration in /etc/initramfs- tools/hooks is expected to include /usr/share/ initramfs- tools/hook- functions, and so making this API break has the possibility of causing currently working user configurations to fail, resulting in unbootable systems?
I don't think you can change the behaviour of `manual_ add_modules` this way in an SRU.
Alternatively, could you change it so that `apply_add_modules` is run exactly once, after all the hooks have been run?