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 --kmoddir fails on paths with traling /
#2236
Labels
Comments
|
I have a simple fix - will submit PR now. |
pvalena
added a commit
to pvalena/dracut
that referenced
this issue
Feb 24, 2023
Fixes dracutdevs#2236 +(/) only works in bash interactive mode. Using any non-interactive bash run simply doesn't remove anything. The solution is copied from dracut-lib.sh, trim().
3 tasks
LaszloGombos
pushed a commit
that referenced
this issue
Feb 27, 2023
Fixes #2236 +(/) only works in bash interactive mode. Using any non-interactive bash run simply doesn't remove anything. The solution is copied from dracut-lib.sh, trim().
aafeijoo-suse
pushed a commit
to aafeijoo-suse/dracut
that referenced
this issue
Jun 15, 2023
Fixes dracutdevs#2236 +(/) only works in bash interactive mode. Using any non-interactive bash run simply doesn't remove anything. The solution is copied from dracut-lib.sh, trim(). (cherry picked from commit 1ddcb13)
pvalena
added a commit
to pvalena/dracut
that referenced
this issue
Jul 23, 2023
Fixes dracutdevs#2236 +(/) only works in bash interactive mode. Using any non-interactive bash run simply doesn't remove anything. The solution is copied from dracut-lib.sh, trim().
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
There's an error in recently added commit 2c2bd86#diff-99bfb8fe311d6a59318f685a5e3401b59293b577968aa08cc4ff7320a163bb28R1034
The code added in the commit only works in interactive mode:
Note the trailing
/which the last line of the example.sh was supposed to remove:Only way I was able to trigger the correct behaviour was an interactive mode:
Distribution used
Fedora Rawhide
Dracut version
059
Init system
systemd
To Reproduce
Add trailing
/to kmoddir:Expected behavior
Trailing / removed.
Additional context
The text was updated successfully, but these errors were encountered: