
On 2023-03-30 10:58, Andrei Borzenkov wrote:
On Thu, Mar 30, 2023 at 11:47 AM Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2023-03-30 09:49, Antonio Feijoo via openSUSE Factory wrote:
Hi,
As you might know, for quite some time `mkinitrd` is just an incomplete wrapper that internally calls `dracut` and `update-bootloader` (unless it's called with `-B`).
Finally, all known packages that required it in their spec file or were found to be using it have been fixed. Hence, it's time to move on. The next `dracut` update in Factory will not provide the `dracut-mkinitrd-deprecated` package. This is planned to be submitted in mid-April, before 2023-04-14, so if you still use `mkinitrd` in any of your packages or custom scripts, please replace it with `dracut` (plus `update-bootloader` if necessary).
Please advise us users what exact command concoction to use instead. Me, and many others, are used to just run "mkinitrd" for many years.
dracut --regenerate-all
Thanks.
should be the direct equivalent (it rebuilds all existing initrds like mkinitrd did).
For more advanced invocations you are invited to read the dracut man page.
Ok :-) I just searched: <https://doc.opensuse.org/documentation/leap/startup/single-html/book-startup/index.html> <https://doc.opensuse.org/documentation/leap/reference/single-html/book-reference/index.html> and "dracut --regenerate-all" is not mentioned at all. Nor "mkinitrd", anyway. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)