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

linux-*: various fixes (initramfs, hooks, presets) #1962

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baltitenger
Copy link

@baltitenger baltitenger commented Nov 25, 2022

  • Depend on initramfs instead of mkinitcpio specifically to allow usage of different initramfs generators
  • Remove unnecessary hook to run depmod (superseded by 60-depmod.hook)
  • Remove unnecessary hook to generate initcpios (superseded by 90-mkinitcpio-install.hook)
  • Remove mkinitcpio presets (now generated by 90-mkinitcpio-install.hook)

@amstan
Copy link
Contributor

amstan commented Nov 25, 2022

Depend on initramfs instead of mkinitcpio specifically

Maybe explain why this is a benefit. (ex: dracut, etc)?

Remove unnecessary hook to run depmod (superseded by 60-depmod.hook)

Can you provide some docs for this? I didn't know this was the case.

#1767 seems very related though.

@baltitenger
Copy link
Author

Ah shoot, I have no clue how I missed that PR.

As for docs on the depmod hook, I don't know about anything other than the contents of the hook itself. It should trigger on any change to usr/lib/modules/*/ which should work for any kernel package if I understand correctly.

- Depend on initramfs instead of mkinitcpio specifically
- Remove unnecessary hook to run depmod (superseded by 60-depmod.hook)
- Remove unnecessary hook to generate initcpios (superseded by 90-mkinitcpio-install.hook)
- Remove mkinitcpio presets (now generated by 90-mkinitcpio-install.hook)
@mvforell
Copy link

What's the status of this PR? I just ran into the issue that I'm unable to remove mkinitcpio after setting up dracut, so I'd love to see this merged 😄

@Tinter
Copy link

Tinter commented Jan 30, 2024

Seconding to say I'm running into this mkinitcpio dependency issue. Could it be worth while to split these changes into smaller PRs, so that some of them can be merged on their own?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants