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

dracut: favour systemd units over dracut hooks #217

Merged
merged 2 commits into from
Aug 10, 2020

Commits on Jul 30, 2020

  1. dracut: replace errant tab by spaces

    This one stood out in my editor.
    jlebon committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    bd2538e View commit details
    Browse the repository at this point in the history
  2. dracut: favour systemd units over dracut hooks

    In general, when possible it's better to use systemd units instead of
    dracut hooks because it's (not surprisingly) easier to integrate with
    other systemd units in the initramfs.
    
    Let's do our part towards eventually phasing out the "init system within
    an init system" situation we're in right now and prefer systemd units on
    systemd-based initrds.
    
    It also mirrors how unlocking works in the real root.
    
    You can see this similar "don't ship hooks on systemd" pattern in other
    dracut modules (for example `04watchdog`, `50plymouth`, and `90crypt`).
    jlebon committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    d87ccb3 View commit details
    Browse the repository at this point in the history