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

fix(resume): fix including module in hostonly mode #2494

Closed
wants to merge 1 commit into from
Closed

fix(resume): fix including module in hostonly mode #2494

wants to merge 1 commit into from

Conversation

Nowa-Ammerlaan
Copy link
Contributor

@Nowa-Ammerlaan Nowa-Ammerlaan commented Aug 20, 2023

The grep introduced in commit e3a7112 does not work as intended. The resume module is always excluded in hostonly mode.

Made this a bit more explicit with if/else so it is more clear what is going on. The in-line ||/&& makes the line really long and makes it more difficult to understand what is going on.

Bug: #924

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

@github-actions github-actions bot added modules Issue tracker for all modules resume Issues related to the resume module labels Aug 20, 2023
The grep introduced in commit e3a7112
does not work as intended. The resume module is always excluded in hostonly
mode.

Made this a bit more explicit with if/else so it is more clear what is going
on. The in-line ||/&& makes the line really long and makes it more difficult
to understand what is going on.

Bug: #924
Signed-off-by: Andrew Ammerlaan <[email protected]>
@Nowa-Ammerlaan
Copy link
Contributor Author

Closing in favour of #2374

@Nowa-Ammerlaan
Copy link
Contributor Author

Gentle ping, I think this fixes quite a serious issue. We have this patch backported in our latest snapshot version in Gentoo: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803a7e0b95164ddb661dee1448a4b19eceb09cc2

Copy link

stale bot commented Apr 22, 2024

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

@stale stale bot added the stale communication is stuck label Apr 22, 2024
@Nowa-Ammerlaan
Copy link
Contributor Author

Resolved by: dracut-ng/dracut-ng@d2ff89e

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules Issue tracker for all modules resume Issues related to the resume module stale communication is stuck
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants