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.sh): do not fail on irregular files #44

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

pvalena
Copy link
Contributor

@pvalena pvalena commented Jul 21, 2022

If file is not a regular file (test -f), dracut.sh fails,
which is unexpected change of behaviour.
The workaround would be to create an empty file.

Fixes: #1835

dracutdevs/dracut#1835

If file is not a regular file (test -f), dracut.sh fails,
which is unexpected change of behaviour.
The workaround would be to create an empty file.

rhel-only
Fixes: #1835
@pvalena
Copy link
Contributor Author

pvalena commented Jul 21, 2022

Scratch-build tested by leapp team.

https://brew*****.redhat.com/brew/taskinfo?taskID=46667193

Upsteam PR: dracutdevs/dracut#1878

@pvalena pvalena merged commit 263b909 into redhat-plumbers:main Jul 21, 2022
@pvalena
Copy link
Contributor Author

pvalena commented Jul 21, 2022

Note: this is a partial revert of dracutdevs/dracut#1622

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.

1 participant