All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Hardin <ckhardin@exablox.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/xfsprogs: install in the same location as e2fsprogs
Date: Tue, 24 May 2016 06:31:16 -0700	[thread overview]
Message-ID: <1464096676-41655-1-git-send-email-ckhardin@exablox.com> (raw)

The configure script hard codes "/sbin" for installation which
installs the XFS tools in a different location then the e2fsprogs.

This is just a cosmetic patch so all the tools end up in "/usr/sbin"
for consistency.

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
---
 .../0004-xfsprogs-configure-exec-prefix.patch      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/xfsprogs/0004-xfsprogs-configure-exec-prefix.patch

diff --git a/package/xfsprogs/0004-xfsprogs-configure-exec-prefix.patch b/package/xfsprogs/0004-xfsprogs-configure-exec-prefix.patch
new file mode 100644
index 0000000..f8c1aeb
--- /dev/null
+++ b/package/xfsprogs/0004-xfsprogs-configure-exec-prefix.patch
@@ -0,0 +1,28 @@
+diff -Naur xfsprogs-3.1.11.orig/configure xfsprogs-3.1.11/configure
+--- xfsprogs-3.1.11.orig/configure	2016-01-03 19:27:44.603418507 +0000
++++ xfsprogs-3.1.11/configure	2016-01-03 19:26:16.029757743 +0000
+@@ -10036,8 +10036,8 @@
+ # case.  If the user choses a different prefix assume he just wants
+ # a local install for testing and not a system install.
+ #
+-case $exec_prefix:$prefix in
+-NONE:NONE | NONE:/usr | /usr:*)
++case $cross_compiling:$exec_prefix:$prefix in
++no:NONE:NONE | no:NONE:/usr | no:/usr:*)
+   root_sbindir='/sbin'
+   root_libdir="/${base_libdir}"
+   ;;
+diff -Naur xfsprogs-3.1.11.orig/configure.ac xfsprogs-3.1.11/configure.ac
+--- xfsprogs-3.1.11.orig/configure.ac	2016-01-03 19:28:02.258949863 +0000
++++ xfsprogs-3.1.11/configure.ac	2016-01-03 19:25:45.918554215 +0000
+@@ -64,8 +64,8 @@
+ # case.  If the user choses a different prefix assume he just wants
+ # a local install for testing and not a system install.
+ #
+-case $exec_prefix:$prefix in
+-NONE:NONE | NONE:/usr | /usr:*)
++case $cross_compiling:$exec_prefix:$prefix in
++no:NONE:NONE | no:NONE:/usr | no:/usr:*)
+   root_sbindir='/sbin'
+   root_libdir="/${base_libdir}"
+   ;;
-- 
2.7.4 (Apple Git-66)

             reply	other threads:[~2016-05-24 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 13:31 Charles Hardin [this message]
2016-05-25 21:11 ` [Buildroot] [PATCH 1/1] package/xfsprogs: install in the same location as e2fsprogs Thomas Petazzoni
2016-06-09 20:09   ` Thomas Petazzoni
2016-06-09 20:58     ` Charles Hardin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464096676-41655-1-git-send-email-ckhardin@exablox.com \
    --to=ckhardin@exablox.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.