]> www.infradead.org Git - users/sagi/libnvme.git/commit
fabrics: Allow to change sysconfdir for hostnqn and hostid file
authorDaniel Wagner <dwagner@suse.de>
Tue, 15 Mar 2022 11:09:58 +0000 (12:09 +0100)
committerDaniel Wagner <dwagner@suse.de>
Tue, 15 Mar 2022 19:06:02 +0000 (20:06 +0100)
commitf356ab0ca74a47f620fb82be4695f9293ef83ef2
treef62db61bcb53d751864f46ecfd352368b02d15a0
parentd1639f4cf59d1947df265a2aa89bdd26c3c030de
fabrics: Allow to change sysconfdir for hostnqn and hostid file

Instead hard coding the sysconfdir allow the user to overwrite the
location of the hostnqn and hostid file. The default is "/etc" but
when configured with --prefix=DIR the files should be read from
"DIR/nvme/".

Signed-off-by: Daniel Wagner <dwagner@suse.de>
doc/meson.build
meson.build
src/nvme/fabrics.c
src/nvme/fabrics.h