aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@smile.fr>2019-04-08 18:43:31 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-10 18:47:06 +0200
commit6af93482d782ff8ecb75fd249b645a12fd76beff (patch)
treefe1a67b8a931b27d3f408ea9c6f45a0d9b090901
parentd1467eaa6bb951fafb0c1f3320a06635922f24ad (diff)
downloadbuildroot-6af93482d782ff8ecb75fd249b645a12fd76beff.tar.gz
buildroot-6af93482d782ff8ecb75fd249b645a12fd76beff.tar.bz2
package/linux-tools: some selftests needs util-linux schedutils
Some kernel-selftests are using taskset program, so make sure that BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS is selected. [linux-4.19 selftests]$ git grep taskset bpf/test_progs.c: assert(system("taskset 0x1 ./urandom_read 100000") == 0); cpu-hotplug/cpu-on-off-test.sh: taskset -p 01 $$ cpufreq/main.sh: taskset -p 01 $$ netfilter/nft_trans_stress.sh: ip netns exec "$testns" taskset $mask ping -4 127.0.0.1 -fq > /dev/null & netfilter/nft_trans_stress.sh: ip netns exec "$testns" taskset $mask ping -6 ::1 -fq > /dev/null & rcutorture/bin/jitter.sh: if ! taskset -p $cpumask $$ > /dev/null 2>&1 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/linux-tools/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in
index f4199fd618..6aa09d14a3 100644
--- a/package/linux-tools/Config.in
+++ b/package/linux-tools/Config.in
@@ -85,6 +85,8 @@ config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS
select BR2_PACKAGE_BASH # runtime
select BR2_PACKAGE_POPT
select BR2_PACKAGE_LIBCAP_NG
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS # runtime (taskset)
help
Build and install (to /usr/lib/kselftests) kernel selftests.