![Thomas Petazzoni](/assets/img/avatar_default.png)
Commit 05484f621c
("package/dstat: bump
to 0.7.4 which allows to run on Python3") added:
select BR2_PACKAGE_PYTHON if !BR2_PACKAGE_PYTHON3
Unfortunately, some other packages do it the other way around, which
causes the following Kconfig circular dependency:
package/python/Config.in:5:error: recursive dependency detected!
package/python/Config.in:5: symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_PYTHON3
package/python3/Config.in:5: symbol BR2_PACKAGE_PYTHON3 is selected by BR2_PACKAGE_PYTHON
Fix that by inverting the python version selection in the dstat
package.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_DSTAT
|
|
bool "dstat"
|
|
depends on BR2_USE_WCHAR # python
|
|
depends on BR2_USE_MMU # python
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # python
|
|
depends on !BR2_STATIC_LIBS # python
|
|
select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
|
|
help
|
|
Dstat, written in Python, is a versatile replacement for
|
|
vmstat, iostat, netstat and ifstat. Dstat overcomes some of
|
|
their limitations and adds some extra features, more counters
|
|
and flexibility. Dstat is handy for monitoring systems during
|
|
performance tuning tests, benchmarks or troubleshooting.
|
|
Dstat allows you to view all of your system resources in
|
|
real-time, you can e.g. compare disk utilization in
|
|
combination with interrupts from your IDE controller, or
|
|
compare the network bandwidth numbers directly with the disk
|
|
throughput (in the same interval).
|
|
|
|
Note that to get proper output, your terminal size should be
|
|
known by the termios subsystem. This can be done by running
|
|
the 'resize' utility of busybox.
|
|
|
|
http://dag.wieers.com/home-made/dstat/
|
|
|
|
comment "dstat needs a toolchain w/ wchar, threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|