From patchwork Mon Apr 8 16:43:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1081254 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="GhAiA1w/"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44dGTH28zLz9sML for ; Tue, 9 Apr 2019 02:43:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 66E9786FD8; Mon, 8 Apr 2019 16:43:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p8J-GEVVtuIz; Mon, 8 Apr 2019 16:43:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id CF68286D6F; Mon, 8 Apr 2019 16:43:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id F3B421BF25F for ; Mon, 8 Apr 2019 16:43:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F14F484E42 for ; Mon, 8 Apr 2019 16:43:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s4nxyErOhqer for ; Mon, 8 Apr 2019 16:43:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 95BB284DE6 for ; Mon, 8 Apr 2019 16:43:38 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id z11so120098wmi.0 for ; Mon, 08 Apr 2019 09:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jioAo8LVgf7C9/V/92Rmw6ruokE20vypUaQ3Ac4U7lM=; b=GhAiA1w/shpUTFjjvVD8Dg54FMUnX1IRZ+ufP9tk2GGg6lwkX5MbmbJtNE19GTVIOb udKTp1RwO1Pgwgq5DxCen3Pp2ScnoDmGNGG0DZOeusVSg8i7GkSXeoreOEW+k9Bhtnbh JDOLCHDtZJuJE17jcH+Rw7eZk/2ViLgfBoBpBQkMRovpUoXUXPIg+tLor0GOUs7q9JyK Y49fW1dSJBc5OYCRLyzTCDcHlBmWHYAJiZb6yAxPmHrMI4SHEKtxAZ9kQ4hfFHaLHch1 yG2WRqz0AhCtHXx5n5PVeV0ofThkX1qJt15IQ2WMO6XykeIThwO4WeElfxuCu9QQagdy hENw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jioAo8LVgf7C9/V/92Rmw6ruokE20vypUaQ3Ac4U7lM=; b=VUbP+nnIUBH/Uw8F8R+mNX+iPuQfkJH6GEwINXsxr8ZGkcbjwCelEWZ9bdMvPVIkk/ 5633KK0FeFBhguuG9JEm6SZDuVnkB1OJdWc+rx9+f07yfycGml43pTmiK1167HoqwKw3 6x3C+kvC2tbnIkhJ7cnriHfZsCEfhos75C2s8d3ArVsRxaI+8OOritXPxZCh2VqrMpHC mSB8itQQ98a4sjCoYnmP1Qtjy4iQNLwyRJpLfUYZ/VUfDkM6jbxJugpQOJMvDsmgnQJZ tqEC1R47LoKI/P3OC7YZdtBMFHQtqxswUr/Ohzvi6qKbRFGIdPIDHJLDe7LZtifer0dP xFqw== X-Gm-Message-State: APjAAAUQMQfz8oF5MFtuyOkQ7M2gqGJpH9UPMelCCVnxXlQsn3ktI0Ei WF9kN/gEaknyNijoDCPeqWKDh5Gjow0= X-Google-Smtp-Source: APXvYqymLysr/RbEwYZLyaxdZbyAUoQb91ohinmDphwcl35MElt9evJ9VOFHb0Ep6WO4565JWNpqfg== X-Received: by 2002:a1c:c186:: with SMTP id r128mr17990457wmf.100.1554741816549; Mon, 08 Apr 2019 09:43:36 -0700 (PDT) Received: from ASN-evian.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id z18sm47673449wrr.90.2019.04.08.09.43.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Apr 2019 09:43:36 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 8 Apr 2019 18:43:31 +0200 Message-Id: <20190408164333.26942-2-romain.naour@smile.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190408164333.26942-1-romain.naour@smile.fr> References: <20190408164333.26942-1-romain.naour@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/3] package/linux-tools: some selftests needs util-linux schedutils X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 --- package/linux-tools/Config.in | 2 ++ 1 file changed, 2 insertions(+) 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.