i2c-tools: depend on BUSYBOX_SHOW_OTHERS
PATCH 1/1 i2c-tools: depend on BUSYBOX_SHOW_OTHERS
As of version 1.25.0 busybox by default includes a nearly complete implementation of i2c-tools. Hide the upstream version unless the BR2_PACKAGE_BUSYBOX_SHOW_OTHERS option is selected.
--- package/i2c-tools/Config.in | 1 + 1 file changed, 1 insertion(+)
package/i2c-tools/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_I2C_TOOLS bool "i2c-tools" + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help Heterogeneous set of I2C tools for Linux
Signature · 1 line
2.7.4
PATCH 1/1 i2c-tools: depend on BUSYBOX_SHOW_OTHERS
Hello,
Quoted 8 lines · Bartosz Golaszewski
As of version 1.25.0 busybox by default includes a nearly complete implementation of i2c-tools. Hide the upstream version unless the
BR2_PACKAGE_BUSYBOX_SHOW_OTHERSoption is selected.Signed-off-by Bartosz Golaszewski <[email protected]>--- package/i2c-tools/Config.in | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks. However, I noticed that the Busybox symlinks are installed in usr/sbin, while the full-blown i2c-tools binaries are installed in usr/bin. Perhaps we should install the i2c-tools binaries in usr/sbin, to follow what Busybox does, and have i2c-tools add busybox to its DEPENDENCIES when busybox is enabled, so that it overwrites the Busybox symlinks?
Peter?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 i2c-tools: depend on BUSYBOX_SHOW_OTHERS
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hello,
Quoted 8 lines · Bartosz Golaszewski
As of version 1.25.0 busybox by default includes a nearly complete implementation of i2c-tools. Hide the upstream version unless the
BR2_PACKAGE_BUSYBOX_SHOW_OTHERSoption is selected.Signed-off-by Bartosz Golaszewski <[email protected]>---
package/i2c-tools/Config.in | 1 +1 file changed, 1 insertion(+)
Quoted 8 lines
Applied to master, thanks. However, I noticed that the Busybox symlinks are installed in usr/sbin, while the full-blown i2c-tools binaries are installed in usr/bin. Perhaps we should install the i2c-tools binaries in usr/sbin, to follow what Busybox does, and have i2c-tools add busybox to its DEPENDENCIES when busybox is enabled, so that it overwrites the Busybox symlinks?
Peter?
Yes, I think that would be a good idea. E.G. Debian also install them into usr/sbin:
https://packages.debian.org/stretch/amd64/i2c-tools/filelist
Signature · 2 lines
Venlig hilsen, Peter Korsgaard
PATCH 1/1 i2c-tools: depend on BUSYBOX_SHOW_OTHERS
In reply to Thomas Petazzoni2016-08-01 23:24 GMT+02:00 Thomas Petazzoni
<[email protected]>:
Quoted 12 lines
Hello,
Quoted 8 lines · Bartosz Golaszewski
As of version 1.25.0 busybox by default includes a nearly complete implementation of i2c-tools. Hide the upstream version unless the
BR2_PACKAGE_BUSYBOX_SHOW_OTHERSoption is selected.Signed-off-by Bartosz Golaszewski <[email protected]>--- package/i2c-tools/Config.in | 1 + 1 file changed, 1 insertion(+)
Quoted 6 lines
Applied to master, thanks. However, I noticed that the Busybox symlinks are installed in usr/sbin, while the full-blown i2c-tools binaries are installed in usr/bin. Perhaps we should install the i2c-tools binaries in usr/sbin, to follow what Busybox does, and have i2c-tools add busybox to its DEPENDENCIES when busybox is enabled, so that it overwrites the Busybox symlinks?
Hi Thomas,
thanks for the suggestion. I sent two follow-up patches.
Best regards,
Bartosz Golaszewski