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 dracutbasedir when using dracut -l #2650

Closed
wants to merge 1 commit into from

Conversation

lz3450
Copy link

@lz3450 lz3450 commented May 27, 2024

This pull request changes...

Changes

After building from a git checkout with prefix=/usr/local, dracut -l reports error:

dracut[F]: Cannot find /usr/lib/dracut/dracut-init.sh.
dracut[F]: Are you running from a git checkout?
dracut[F]: Try passing -l as an argument to /usr/local/bin/dracut

Checklist

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

Fixes #

Setting dracutbasedir in dracut.sh correctly to /usr/local/lib/dracut

@lz3450 lz3450 closed this May 27, 2024
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