freeipmi: add --with-systemdsystemunitdir option (#22096)

This commit is contained in:
Tomoyasu Nojiri 2021-03-05 18:38:19 +09:00 committed by GitHub
parent 97afb34ac3
commit d3b10b04c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,8 @@ def configure_args(self):
tty.warn("Requires 'root' for bmc-watchdog.service installation to" tty.warn("Requires 'root' for bmc-watchdog.service installation to"
" /lib/systemd/system/ !") " /lib/systemd/system/ !")
args = ['--prefix={0}'.format(prefix)] args = ['--prefix={0}'.format(prefix),
"--with-systemdsystemunitdir=" +
self.spec['freeipmi'].prefix.lib.systemd.system]
return args return args