From: Yann E. MORIN Date: Sun, 12 Mar 2017 09:58:16 +0000 (+0100) Subject: package/nbd: fix utilities locations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4aabbeb245794862e8434317e885d6d028d23679;p=buildroot.git package/nbd: fix utilities locations Currently, the code expects both the client and server to be in /usr/bin, while the client is in /usr/sbin Fix that. Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index c7c327eb38..92660c2f11 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -19,14 +19,14 @@ NBD_CONF_ENV = ac_cv_header_linux_falloc_h=no endif ifneq ($(BR2_PACKAGE_NBD_CLIENT),y) -NBD_TOREMOVE += nbd-client +NBD_TOREMOVE += /usr/sbin/nbd-client endif ifneq ($(BR2_PACKAGE_NBD_SERVER),y) -NBD_TOREMOVE += nbd-server +NBD_TOREMOVE += /usr/bin/nbd-server endif define NBD_CLEANUP_AFTER_INSTALL - rm -f $(addprefix $(TARGET_DIR)/usr/sbin/, $(NBD_TOREMOVE)) + rm -f $(addprefix $(TARGET_DIR), $(NBD_TOREMOVE)) endef NBD_POST_INSTALL_TARGET_HOOKS += NBD_CLEANUP_AFTER_INSTALL