i2c-tools: add busybox to dependencies
PATCH 1/2 i2c-tools: add busybox to dependencies
Before changing the install directory of i2c-tools to /usr/sbin/ make sure busybox is built first (if selected) in order to ensure that the symlinks to the busybox-provided versions are overwritten by the i2c-tools' install commands.
--- package/i2c-tools/i2c-tools.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/i2c-tools/i2c-tools.mk +4 -0
@@ -17,6 +17,10 @@ ifeq ($(BR2_PACKAGE_PYTHON3),y) I2C_TOOLS_DEPENDENCIES += python3 endif +ifeq ($(BR2_PACKAGE_BUSYBOX),y) +I2C_TOOLS_DEPENDENCIES += busybox +endif + # Build/install steps mirror the distutil python package type in the python package # infrastructure ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
Signature · 1 line
2.7.4
PATCH 2/2 i2c-tools: install binaries to /usr/sbin
Upstream i2c-tools executables are installed to /usr/sbin by default. Make buildroot match this behavior.
--- package/i2c-tools/i2c-tools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/i2c-tools/i2c-tools.mk +1 -1
@@ -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
Signature · 1 line
2.7.4
PATCH 1/2 i2c-tools: add busybox to dependencies
In reply to Bartosz GolaszewskiQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bartosz" == Bartosz Golaszewski <[email protected]> writes:
Before changing the install directory of i2c-tools to
/usr/sbin/make sure busybox is built first (if selected) in order to ensure that the symlinks to the busybox-provided versions are overwritten by the i2c-tools' install commands.Signed-off-by Bartosz Golaszewski <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/2 i2c-tools: install binaries to /usr/sbin
In reply to Bartosz GolaszewskiQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bartosz" == Bartosz Golaszewski <[email protected]> writes:
Upstream i2c-tools executables are installed to
/usr/sbinby default. Make buildroot match this behavior.Signed-off-by Bartosz Golaszewski <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard