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

dracut fails to work if installed in /usr/local #2629

Open
ahuebi opened this issue Feb 27, 2024 · 0 comments
Open

dracut fails to work if installed in /usr/local #2629

ahuebi opened this issue Feb 27, 2024 · 0 comments
Labels
bug Our bugs

Comments

@ahuebi
Copy link

ahuebi commented Feb 27, 2024

Describe the bug
dracut fails to work if installed in /usr/local

Distribution used
Linux Mint 21.3

Dracut version
/usr/local/bin/dracut --version

dracut

Init system
n/a

To Reproduce
git clone https://github.com/dracutdevs/dracut.git
cd dracut
./configure --prefix /usr/local
make
sudo make install
type dracut

dracut is hashed (/usr/local/bin/dracut)

dracut --kver 6.7.6

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

dracut -l --kver 6.7.6

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

Expected behavior
Build of an initramfs image

Additional context
Add any other context you like about the problem here.

@ahuebi ahuebi added the bug Our bugs label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs
Projects
None yet
Development

No branches or pull requests

1 participant