http://bugzilla.opensuse.org/show_bug.cgi?id=1190567 http://bugzilla.opensuse.org/show_bug.cgi?id=1190567#c6 --- Comment #6 from Michal Suchanek <msuchanek@suse.com> --- but you don't really need to know. this code extracts the kernel scriptlets: https://github.com/openSUSE/kernel-source/blob/packaging/rpm/kernel-subpacka... There is some query format to get the interpreter for the script (hopefully, it's not like documentation for rpm exists). Then you can run the script (preinst, postinst, posttrans) with the interpreter, and pass it the rpm argument which should be 1 if you have 1 kernel in the image. The scripts are very clever and skip some processing when they detect the kernel is being just reinstalled but I think the part you are interested in is not optimized this way. -- You are receiving this mail because: You are the assignee for the bug.