]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvmf-autoconnect: Add option to specify path to systemctl
authorDaniel Wagner <dwagner@suse.de>
Wed, 16 Mar 2022 10:47:46 +0000 (11:47 +0100)
committerDaniel Wagner <dwagner@suse.de>
Wed, 16 Mar 2022 10:47:46 +0000 (11:47 +0100)
commit12c0c72f19f40067036bb49398be3dab2f29d302
treedf90a3baa350a4036cbdd57b540f9dc54c3a3b99
parent3e46db5a7df18c918463a7549b01db39a372cc3c
nvmf-autoconnect: Add option to specify path to systemctl

Many distros have adapted the usr merge and hence systemctl is install
in /usr/bin. Instead just hard coding the new path, let's introduce a
new build option to allow specifying the path to the systemclt
binary.

Note, the scripts also have hard coded paths to /bin/sh or
/bin/echo. None of these paths are covered by POSIX but in practice
all distros have those as symlinks when the usr merge have been
implemented. Let's address these issues when the pop up.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
meson.build
meson_options.txt
nvmf-autoconnect/udev-rules/70-nvmf-autoconnect.rules.in