Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] i2c-tools: install binaries to /usr/sbin
Date: Tue,  2 Aug 2016 12:27:36 +0200	[thread overview]
Message-ID: <1470133656-13954-2-git-send-email-bgolaszewski@baylibre.com> (raw)
In-Reply-To: <1470133656-13954-1-git-send-email-bgolaszewski@baylibre.com>

Upstream i2c-tools executables are installed to /usr/sbin by default.
Make buildroot match this behavior.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 package/i2c-tools/i2c-tools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk
index 38f84a3..e16b940 100644
--- a/package/i2c-tools/i2c-tools.mk
+++ b/package/i2c-tools/i2c-tools.mk
@@ -53,7 +53,7 @@ endef
 define I2C_TOOLS_INSTALL_TARGET_CMDS
 	for i in i2cdump i2cget i2cset i2cdetect; \
 	do \
-		$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/bin/$$i; \
+		$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/sbin/$$i; \
 	done
 	$(I2C_TOOLS_INSTALL_PYSMBUS)
 endef
-- 
2.7.4

  reply	other threads:[~2016-08-02 10:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 10:27 [Buildroot] [PATCH 1/2] i2c-tools: add busybox to dependencies Bartosz Golaszewski
2016-08-02 10:27 ` Bartosz Golaszewski [this message]
2016-08-02 11:09   ` [Buildroot] [PATCH 2/2] i2c-tools: install binaries to /usr/sbin Peter Korsgaard
2016-08-02 11:09 ` [Buildroot] [PATCH 1/2] i2c-tools: add busybox to dependencies Peter Korsgaard

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=1470133656-13954-2-git-send-email-bgolaszewski@baylibre.com \
    --to=bgolaszewski@baylibre.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox