https://bugzilla.novell.com/show_bug.cgi?id=786318 https://bugzilla.novell.com/show_bug.cgi?id=786318#c13 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #13 from Michael Andres <ma@suse.com> 2014-03-18 16:11:53 CET --- (In reply to comment #9)
Now with mkinitrd being retired it is a dracut inefficiently being called multiple times per update session.
Scripts to execute (%pre/%post/%posttrans/..) are part of the packages. libzypp now executes the defined scripts at the correct point in time. It is not up to libzypp to decide whether scripts from different packages are equal/equivalent: %post a <same?> %post b echo "HI" echo "HI" ^ ^^ Also zypp can't know whether it would be ok to execute them only once. If there are 100 requests for SCRIPT, we must execute SCRIPT 100 times. SCRIPT should be optimized to be cheap if there is nothing todo, but that's within the scope of the packages using it, not within libzypp. I'm leaving the bug as FIXED (from libzypps POV the original 'called multiple times' issue is INVALID) If dracut isn't fast if there is nothing todo, a bug should be opened for dracut. If it can't be optimized, packages must change the way they use dracut in their scripts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.