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

provide ability to set LIBDIR #167

Closed
vtolstov opened this issue May 4, 2014 · 4 comments · Fixed by #335
Closed

provide ability to set LIBDIR #167

vtolstov opened this issue May 4, 2014 · 4 comments · Fixed by #335

Comments

@vtolstov
Copy link

vtolstov commented May 4, 2014

please, add ability to set LIBDIR manually and use this path in dracut dir and modules dir.

@jpoimboe
Copy link
Member

@vtolstov You can already set PREFIX when installing, e.g. "PREFIX=/usr make install". From Makefile.inc:

PREFIX    ?= /usr/local
BINDIR     = $(DESTDIR)$(PREFIX)/bin
SBINDIR    = $(DESTDIR)$(PREFIX)/sbin
MODULESDIR = $(DESTDIR)$(PREFIX)/lib/modules
LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch
DATADIR    = $(DESTDIR)$(PREFIX)/share/kpatch
MANDIR     = $(DESTDIR)$(PREFIX)/share/man/man1
DRACUTDIR  = $(DESTDIR)/usr/lib/dracut/modules.d/99kpatch

Is that what you need?

btw, DRACUTDIR is hard coded to /usr/lib because dracut doesn't check for modules in /usr/local/lib.

@vtolstov
Copy link
Author

In my case libdir is lib64 for 64 bit files and lib32 for 32.

@sjenning
Copy link
Contributor

@vtolstov what distro are you using?

@vtolstov
Copy link
Author

@Spartacus06 Exherbo

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 a pull request may close this issue.

3 participants