Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mkinitrd): remove mkinitrd #1285

Merged
merged 1 commit into from Mar 30, 2021
Merged

Conversation

haraldh
Copy link
Collaborator

@haraldh haraldh commented Mar 30, 2021

It was not working anyway, so nobody used it for years.
If it is not used, just remove it.
mkinitrd-suse.sh will be maintained by SUSE as it is SUSE specific
anyway.

It was not working anyway, so nobody used it for years.
If it is not used, just remove it.
mkinitrd-suse.sh will be maintained by SUSE as it is SUSE specific
anyway.
@haraldh haraldh enabled auto-merge (rebase) March 30, 2021 08:36
@haraldh haraldh merged commit 43df4ee into dracutdevs:master Mar 30, 2021
@haraldh haraldh deleted the remove_mkinitrd branch March 30, 2021 10:38
lzaoral added a commit to lzaoral/rear that referenced this pull request Jun 21, 2022
For a long time, mkinitrd was a wrapper script around dracut in Fedora
and RHEL that maintained backwards compatibility with the real (but
rather obsolete) mkinitrd.

Dracut 054 removed the mkinitrd wrapper script [1] so now we have to
execute dracut directly.  Fortunately, ReaR did not use almost anything
from mkinitrd's interface (with the exception of --with) so the transition
is quite straightforward.

Without this patch the initrd regeneration in the finalize stage of recovery
fails on RHEL 9 and Fedora 33 or newer.

[1] dracutdevs/dracut#1285
lzaoral added a commit to lzaoral/rear that referenced this pull request Jun 22, 2022
For a long time, mkinitrd was a wrapper script around dracut in Fedora
and RHEL that maintained backwards compatibility with the real (but
rather obsolete) mkinitrd.

Dracut 054 removed the mkinitrd wrapper script [1] so now we have to
execute dracut directly.  Fortunately, ReaR did not use almost anything
from mkinitrd's interface (with the exception of --with) so the transition
is quite straightforward and should not introduce any regressions because
dracut is the default initrd generator since RHEL 6.

Without this patch the initrd regeneration in the finalize stage of recovery
fails on RHEL 9 and Fedora 33 or newer.

[1] dracutdevs/dracut#1285
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants