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
This pull request changes...
Changes
After building from a git checkout with prefix=/usr/local,
dracut -l
reports error:Checklist
Fixes #
Setting
dracutbasedir
indracut.sh
correctly to/usr/local/lib/dracut