summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2021-03-05 18:38:19 +0900
committerGitHub <noreply@github.com>2021-03-05 10:38:19 +0100
commitd3b10b04c17a03231a6663aa377aa18640e471ae (patch)
tree0e7eaea8b975cbb89eec2734a32a550084462ab5 /var
parent97afb34ac364f100fd9472d0029ae10f6147ddc0 (diff)
downloadspack-d3b10b04c17a03231a6663aa377aa18640e471ae.tar.gz
spack-d3b10b04c17a03231a6663aa377aa18640e471ae.tar.bz2
spack-d3b10b04c17a03231a6663aa377aa18640e471ae.tar.xz
spack-d3b10b04c17a03231a6663aa377aa18640e471ae.zip
freeipmi: add --with-systemdsystemunitdir option (#22096)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/freeipmi/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/freeipmi/package.py b/var/spack/repos/builtin/packages/freeipmi/package.py
index a1fbbcf5eb..4ec41832e9 100644
--- a/var/spack/repos/builtin/packages/freeipmi/package.py
+++ b/var/spack/repos/builtin/packages/freeipmi/package.py
@@ -35,6 +35,8 @@ class Freeipmi(AutotoolsPackage):
tty.warn("Requires 'root' for bmc-watchdog.service installation to"
" /lib/systemd/system/ !")
- args = ['--prefix={0}'.format(prefix)]
+ args = ['--prefix={0}'.format(prefix),
+ "--with-systemdsystemunitdir=" +
+ self.spec['freeipmi'].prefix.lib.systemd.system]
return args