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(dracut-lib): only remove initqueue/finished scripts, not the hook dir #117

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

dracutng
Copy link

@dracutng dracutng commented Apr 6, 2024

Changes

The remove_hostonly_files function should only remove (as its name suggests) hostonly configuration and files. The initqueue/finished scripts considered as hostonly that must be removed are added via wait_for_dev. But, the hookdirs are always created at build time, and should not be removed.

This patch also allows to remove the mkdir workaround in the network-manager module (copied-pasted into the connman module after), and avoids having to add it tree-wide in many missing places.

Fixes 87e90d7
Fixes #2620

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

(cherry picked from dracutdevs/dracut#2623)

@github-actions github-actions bot added modules Issue tracker for all modules network-manager Issues related to the network-manager module base Issues related to the base module connman labels Apr 6, 2024
… dir

The `remove_hostonly_files` function should only remove (as its name suggests)
hostonly configuration and files. The initqueue/finished scripts considered as
hostonly that must be removed are added via `wait_for_dev`. But, the `hookdirs`
are always created at build time, and should not be removed.

This patch also allows to remove the `mkdir` workaround in the `network-manager`
module (copied-pasted into the `connman` module after), and avoids having to add
it tree-wide in many missing places.

Fixes 87e90d7
Fixes #2620
@LaszloGombos LaszloGombos merged commit e8257de into dracut-ng:main Apr 12, 2024
79 checks passed
@LaszloGombos LaszloGombos deleted the _2623 branch April 12, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base Issues related to the base module connman modules Issue tracker for all modules network-manager Issues related to the network-manager module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants