At Mon, 17 Mar 2014 16:28:40 +0000, Cristian Morales Vega wrote:
On 17 March 2014 16:17, Takashi Iwai
wrote: I stumbled on bnc#858840, and wondering whether we can use %posttrans for triggering mkinitrd (or whatever) instead of %post. This will reduce the time when many relevant packages are updated at once. Or am I missing anything obvious...?
Ask the zypp devs. But IIRC each package is (was?) installed in its own transaction, so it would make no difference.
It depends on the implementation. A typical trick is to make the hook calling a script, and the script deletes itself so that it won't be called twice. Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org