diff mbox series

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

Message ID ffca193d-4266-0806-c766-930ab8330977@grandegger.com
State Accepted
Headers show
Series [v3] exfat, exfat-utils: fix the installation path of the helper, utilities | expand

Commit Message

Wolfgang Grandegger Sept. 24, 2019, 12:29 p.m. UTC
"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@grandegger.com>
---

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(+)

Comments

Carlos Santos Sept. 24, 2019, 1:24 p.m. UTC | #1
On Tue, Sep 24, 2019 at 9:29 AM Wolfgang Grandegger <wg@grandegger.com> wrote:
>
> "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@grandegger.com>
> ---
>
> 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(+)
>
> diff --git a/package/exfat-utils/exfat-utils.mk b/package/exfat-utils/exfat-utils.mk
> index 62cd471..16d5aa0 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 b52b197..d8744fe 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))
> --
> 2.7.4
>

Tested-by: Carlos Santos <unixmania@gmail.com>
Thomas Petazzoni Oct. 27, 2019, 1:15 p.m. UTC | #2
On Tue, 24 Sep 2019 14:29:20 +0200
Wolfgang Grandegger <wg@grandegger.com> wrote:

> "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@grandegger.com>
> ---

Applied to master, thanks.

Thomas
Peter Korsgaard Oct. 31, 2019, 2:15 p.m. UTC | #3
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > On Tue, 24 Sep 2019 14:29:20 +0200
 > Wolfgang Grandegger <wg@grandegger.com> wrote:

 >> "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@grandegger.com>
 >> ---

Committed to 2019.02.x and 2019.08.x, thanks.
diff mbox series

Patch

diff --git a/package/exfat-utils/exfat-utils.mk b/package/exfat-utils/exfat-utils.mk
index 62cd471..16d5aa0 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 b52b197..d8744fe 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))