On Thu, Mar 15, Konstantin Voinov wrote:
I don't understate how it may helps. It's rpm-macros and proceeds with every rpm command.
I suggest to read the macros, it does not proceed with every rpm command, it's a proper implemented posttrans.
I think the zypper somehow should decide to run dracut or to not, but it's not safe way imo.
And people who use RPM will never be able to boot? We had this "let zypper decide" in the past, it's called "update-scripts". Doesn't work as reliable as RPM does, because package developers test their RPMs with "rpm" and not zypper after test building them and never see the errors. Thorsten
On 2018-03-15 22:04, Frederic Crozat wrote:
Le jeudi 15 mars 2018 à 21:54 +1000, Konstantin Voinov a écrit :
Hi,
It would be nice, but how?
We have macros to handle that in TW:
%post {?regenerate_initrd_post}
%postun %{?regenerate_initrd_post}
%posttrans %{?regenerate_initrd_posttrans}
On 2018-03-15 21:44, Peter Suetterlin wrote:
Hi list,
just did an update to 20180313.
During the update, dracut was running 4 (four!) times:
kernel-default-4.15.8-1.1.x86_64 virtualbox-host-kmp-default-5.2.8_k4.15.8_1-1.1.x86_64 bbswitch-kmp-default-0.8_k4.15.8_1-28.76.x86_64 kmod-25-2.1.x86_64.rpm %posttrans
Can't that be reduced to one single run at the end?
-- Frederic Crozat Enterprise Desktop Release Manager SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org