[Buildroot] [git commit branch/2019.08.x] package/exfat{, -utils}: fix installation path of the helper/utilities
Peter Korsgaard
peter at korsgaard.com
Thu Oct 31 14:14:02 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=429c9e5ad6cc6bb0d3b0f1aa70f49dbcb332fdfc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.08.x
"mount" from the "util-linux" package does expect the helper utilities
in "/sbin" and not "/usr/sbin". We use "--exec-prefix=/" to fix the
issue. The man-pages are then still installed under "/usr/share/man".
Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>
Tested-by: Carlos Santos <unixmania at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit e7f32dc3c63668b37e338bae3b7a82efe247d793)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/exfat-utils/exfat-utils.mk | 2 ++
package/exfat/exfat.mk | 2 ++
2 files changed, 4 insertions(+)
diff --git a/package/exfat-utils/exfat-utils.mk b/package/exfat-utils/exfat-utils.mk
index 62cd47186f..16d5aa03db 100644
--- a/package/exfat-utils/exfat-utils.mk
+++ b/package/exfat-utils/exfat-utils.mk
@@ -9,4 +9,6 @@ EXFAT_UTILS_SITE = https://github.com/relan/exfat/releases/download/v$(EXFAT_UTI
EXFAT_UTILS_LICENSE = GPL-3.0+
EXFAT_UTILS_LICENSE_FILES = COPYING
+EXFAT_UTILS_CONF_OPTS += --exec-prefix=/
+
$(eval $(autotools-package))
diff --git a/package/exfat/exfat.mk b/package/exfat/exfat.mk
index b52b197062..d8744feb9b 100644
--- a/package/exfat/exfat.mk
+++ b/package/exfat/exfat.mk
@@ -12,4 +12,6 @@ EXFAT_LICENSE = GPL-3.0+
EXFAT_LICENSE_FILES = COPYING
EXFAT_CFLAGS = $(TARGET_CFLAGS) -std=c99
+EXFAT_CONF_OPTS += --exec-prefix=/
+
$(eval $(autotools-package))
More information about the buildroot
mailing list