package/nfs-utils: fix unit dependencies without systemd on build host
nfs-utils configure script uses "systemd-escape" to determine the rpc_pipefs mount point unit name in the non-default case. If the host build system has no systemd this will silently result in an empty name, causing rpc_pipefs.target to incorrectly depend on ".mount". Fix that by depending on host-systemd for build. Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi> Acked-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit 4c9b13b8dd993050ba0f026bf4e402f816a3f6df) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
83c1c81d1c
commit
d016e8b886
@ -79,7 +79,7 @@ NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
NFS_UTILS_CONF_OPTS += --with-systemd=/usr/lib/systemd/system
|
||||
NFS_UTILS_DEPENDENCIES += systemd
|
||||
NFS_UTILS_DEPENDENCIES += systemd host-systemd
|
||||
else
|
||||
NFS_UTILS_CONF_OPTS += --without-systemd
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user