Skip to contentSkip to conversation

exfat, exfat-utils: fix the installation path of the helper, utilities

PATCH New Wolfgang Grandegger 4 participants 4 messages Sep 24, 2019 – Oct 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 exfat, exfat-utils: fix the installation path of the helper, utilities

"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".

---

Changes since v2:
"-prefix=/" is ignored. We now use "--exec-prefex", which will still install the man-pages under "/usr/share/man".

Changes since v1:
Use "--prefix=/" to get programs properly installed

 package/exfat-utils/exfat-utils.mk | 2 ++
 package/exfat/exfat.mk             | 2 ++
 2 files changed, 4 insertions(+)
package/exfat-utils/exfat-utils.mk +2 -0
index 62cd471..16d5aa0 100644
@@ -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))
package/exfat/exfat.mk +2 -0
index b52b197..d8744fe 100644
@@ -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))
Signature · 1 line
2.7.4
#1 lore raw

PATCH v3 1/1 exfat, exfat-utils: fix the installation path of the helper, utilities

Quoted 42 lines · Wolfgang Grandegger

"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".

---

Changes since v2:
"-prefix=/" is ignored. We now use "--exec-prefex", which will still install the man-pages under "/usr/share/man".

Changes since v1:
Use "--prefix=/" to get programs properly installed

 package/exfat-utils/exfat-utils.mk | 2 ++
 package/exfat/exfat.mk             | 2 ++
 2 files changed, 4 insertions(+)
package/exfat-utils/exfat-utils.mk +2 -0
index 62cd471..16d5aa0 100644
@@ -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))
package/exfat/exfat.mk +2 -1
index b52b197..d8744fe 100644
@@ -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))
--
Quoted 2 lines

2.7.4

#2 lore raw

PATCH v3 1/1 exfat, exfat-utils: fix the installation path of the helper, utilities

In reply to Wolfgang Grandegger
Quoted 6 lines · On Tue, 24 Sep 2019 14:29:20 +0200 Wolfgang Grandegger <[email protected]>…

"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".

---

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH v3 1/1 exfat, exfat-utils: fix the installation path of the helper, utilities

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Quoted 6 lines · On Tue, 24 Sep 2019 14:29:20 +0200 Wolfgang Grandegger <[email protected]>…

"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".

---

Committed to 2019.02.x and 2019.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard