Install script functions and recommend.d to /usr/lib/tuned/
In #615, they were accidentally moved to /usr/lib/tuned/profiles/ where all profiles were migrated. This also changes the location of `functions` file within the repository, separating it from the profiles themselves. Resolves #642.
This commit is contained in:
parent
bb39823410
commit
b3b0892d5b
2 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
|
@ -46,8 +46,9 @@ ifeq ($(PYTHON_SITELIB),)
|
|||
$(error Failed to determine python library directory)
|
||||
endif
|
||||
KERNELINSTALLHOOKDIR = /usr/lib/kernel/install.d
|
||||
TUNED_PROFILES_DIR = /usr/lib/tuned/profiles
|
||||
TUNED_RECOMMEND_DIR = $(TUNED_PROFILES_DIR)/recommend.d
|
||||
TUNED_SYSTEM_DIR = /usr/lib/tuned
|
||||
TUNED_PROFILES_DIR = $(TUNED_SYSTEM_DIR)/profiles
|
||||
TUNED_RECOMMEND_DIR = $(TUNED_SYSTEM_DIR)/recommend.d
|
||||
TUNED_USER_RECOMMEND_DIR = $(SYSCONFDIR)/tuned/recommend.d
|
||||
BASH_COMPLETIONS = $(DATADIR)/bash-completion/completions
|
||||
|
||||
|
|
@ -182,6 +183,9 @@ install: install-dirs
|
|||
$(DESTDIR)$(SYSCONFDIR)/tuned/cpu-partitioning-powersave-variables.conf
|
||||
install -pm 0644 recommend.conf $(DESTDIR)$(TUNED_RECOMMEND_DIR)/50-tuned.conf
|
||||
|
||||
# bash functions used by profile scripts
|
||||
install -Dpm 0644 functions $(DESTDIR)$(TUNED_SYSTEM_DIR)
|
||||
|
||||
# bash completion
|
||||
install -Dpm 0644 tuned-adm.bash $(DESTDIR)$(BASH_COMPLETIONS)/tuned-adm
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue