From patchwork Wed Nov 26 08:59:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaac True X-Patchwork-Id: 4639 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 26 Nov 2025 10:04:58 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f62.google.com (mail-ed1-f62.google.com [209.85.208.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AQ94wiA009470 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Nov 2025 10:04:58 +0100 Received: by mail-ed1-f62.google.com with SMTP id 4fb4d7f45d1cf-6418122dd7bsf9165939a12.0 for ; Wed, 26 Nov 2025 01:04:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1764147893; cv=pass; d=google.com; s=arc-20240605; b=jJmgL6n/o3gaQsT0NaieMxWomofS/URfulo9TgcEogq9xYLdZ4z7BB6lGgI4LvEMzF 5sjiaT7w+Tg/RTZ7xf6VsXuCW+0Jj+msSLeKQRRQeyennMSwfE/WlBMZ0K287x3TfHif tTpNfxLL6iZJcHUACHla14fm1aA1mafbqNjZMsuIGlyZ8bJVhNz4C0046vBbv32GkktP OhZ2z+pwBx2QYjghjY8lo9UGJjKiQoDifM4x3jSmUtFkXN/Zk8VQ8e4R2oCthTk+UASk j1hIXDNG/I0wolSsuiArkw/no0CyaaytdzFhZShnKfmv6dcR7DFEwj4eJ/lI0l127UyZ C2Hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=YDyveicYE9DqmFBIMVbA1oTpcfk3KD4bA6Lnl8AHcMM=; fh=xLlM59cCe7l+05CoOIO5WZh0bkw/5XDYMLgf6KRVVJw=; b=ElalGKGRQiiW7xXAX5jmoU10Mg3pfzCVtcufhMqtZX3856kgtS1odBro/T0wHh9l5C lQ3x8MNJL3CRHxG1ckz+Rq+1K4KguTRpvbia41yFVexicYzC4VzNC4HFMehN1Wu9SQ60 xQsDkZTChRWAEI8IGndIGt2RTHd5KbKsf9riJGxph15eyNE0Nb2EpfuykAHuZQdDrZdf R0ZsBn4PQhn25pIqR4SYRHJU4XB3NkPY3PvJjwJuevJmdWw9HqPmJg4mdiHcMgSs/YEB 1tjjI+d29X6ez11K0kzCm5uwGDX5cJFjKXtyo55oUGhJuRXSrguhpVSPukOE+dWHyJ0f lbJA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=fj3ptYcG; dkim=pass header.i=@emlix.com header.s=20250930 header.b=fj3ptYcG; spf=pass (google.com: domain of itrue@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=itrue@emlix.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1764147893; x=1764752693; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=YDyveicYE9DqmFBIMVbA1oTpcfk3KD4bA6Lnl8AHcMM=; b=NxFuL95YLW+W/fTu0CnJVSg4h0dCkPvcDuAfg6O3/arttAi96Zm4WuHWmlJDbAMIrf AySKOJlWtctXql7BwrJJy/pZVEcFMmjGx5JVxAYBoJpnCgfgPjHERabj1OXguiZTT88j 4SxAldRMAK/EgzwsVBVqcqqCc2oEpKE3Xp4/3+q3WviqU0H3NkyUy+FYpf0Snq/mvZ9I XfLpYpdTTfTyV/C2NHCmantrxb2dvDY/OAh57G6ejIfUhDQmXhhoyGBebVpm6HE+GYjG MZxy6XUqYulNntzBAHgIuiO588BhFx6C/xiZImxsl/2qs78Gfm/KGD0b/H/rSxwpsUYw /Kyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764147893; x=1764752693; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YDyveicYE9DqmFBIMVbA1oTpcfk3KD4bA6Lnl8AHcMM=; b=RyajvLXf2Uk14c12Rw1m8z13oSSLGLaorW5hFU70NxDb6A/fKRZri5/eQuFv5FYVOt bn5LP05dGyCxW6P2d0VDCRFX5iLTm5Sq14Y8yuaF2T8ARMNdrIBprZrqdn82vqahLZrf b6q5yKybhms4ZxgGNxdyYqJ+h55mHi+NGjQPkCsI18Ib18xmRdkunyMKKuA6pCbqWAUT utxQr/4hyygvosJ7u/q2OBJSbUDDqo03ztfqmesNxJ1VQkwyzqlFj5CtYQnbMHGlGILq C8lkPTT6IMKYAA2M5YZYNDDAS9w+w/wjVPDlMM3IyRhrVPH+iJnJCDLFd3Y1tPKC7U88 1uMA== X-Forwarded-Encrypted: i=2; AJvYcCUMZtyobkKayglWpT26OuQAsR/X0NfecjcJ6L15tE8znCJpek4m4xwMRinX8HqzfGa42ua8U6Y=@isar-build.org X-Gm-Message-State: AOJu0Yzyn+Qv4PQgwfuHWQydVxwNqaq9cXoUAY8MfkJs6+K5de9II8n2 dZKizgNoP3muwYjJPVVtZOkrHBBIUqcQH2RJ2mtxdlkx+A+XhF15uG8q X-Google-Smtp-Source: AGHT+IGYTlFBvis6TggotV37BjYIv1eAvuN2fdUJnYreaq+XXNkaV9m+vmFoRbgmnzlwEpZS2iITng== X-Received: by 2002:a05:6402:42c5:b0:641:62bb:9c0 with SMTP id 4fb4d7f45d1cf-645eb785c49mr5369351a12.33.1764147889242; Wed, 26 Nov 2025 01:04:49 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+b0SbMj/VD+G+XeC4e5LWTtXZtyDlbijZaEGUajegnkCw==" Received: by 2002:a50:9e63:0:b0:644:fc33:37b6 with SMTP id 4fb4d7f45d1cf-645363ff0e7ls5929798a12.1.-pod-prod-08-eu; Wed, 26 Nov 2025 01:04:46 -0800 (PST) X-Received: by 2002:a17:906:6a1e:b0:b73:3a:c49d with SMTP id a640c23a62f3a-b76c5665ed0mr593974566b.52.1764147886261; Wed, 26 Nov 2025 01:04:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1764147886; cv=none; d=google.com; s=arc-20240605; b=XZJOOhmeCqF4GwwcXv/SMdbrlz5IAf9//OuA8+KLcQtDKtui8S8JHkbWdegWUz/Sw8 6EkJ0E/zdekJenYWwsNcR7FANSGIJDbwyFBMbzkFoO5gVj+LwM4SZ7lA106xQPj5IGw7 7W5JD9sD8qL/MhW6Js3s03LNuHc41h10bt7gTK4lO0zzwKMExMxEPFcnJ5Frbw5yJmVq bAaLaS1KCwvbWFNq39SAx5JhFzVxMnomIP1iflIi39j1dmDxJ50mmA9q2iGzNAlMdoTg nMzEVho9pbdI+8gg/s8Hc7L+eFGmyaVgbhsRIyTO7ZVly3AbCmWFkiSc+pXHL5P4l4sD iXmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=ewdouMcQWOFucIZv1il0dLElir6bBq2G0nsHWP5qcs0=; fh=vRrjvjDC0Nm912rKb+hserwyuGVHai4IaHlHCTH5jzE=; b=j+zqJ270R3rFld4QPtuqid0qw/JfdzuTvgTKTASLd163fwyUdrWkv/+l/6v2gH7OcY BK9GWdMlEZ8vf1Q0TbJMY8dQM+1CIl2Kl6VdboWmXsPeWLJX15LANtYYSZYc5IQzoeRa 3HYB8niegQuXPxY0GNSyWIgiwodFrn1BWpGwHWq7yb6YK879pZJ/azhtlMCD7Xu/kS8D 4LXPQeoFrhd9NdqOF/fTmPCyQwiHcfdaSdQqaYLkirAXXC8IySKZkc8KaGsyXR3GYK27 JS8MH4EIANYWDbiQtcPqtfmpibN0W5k0v1LCAy7jKWuqL1Cm44HaiR+C2bU31x0RSmgG MO3g==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=fj3ptYcG; dkim=pass header.i=@emlix.com header.s=20250930 header.b=fj3ptYcG; spf=pass (google.com: domain of itrue@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=itrue@emlix.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com Received: from mx1.emlix.com (mx1.emlix.com. [178.63.209.131]) by gmr-mx.google.com with ESMTPS id a640c23a62f3a-b76d6c6a4fdsi7929766b.3.2025.11.26.01.04.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Nov 2025 01:04:45 -0800 (PST) Received-SPF: pass (google.com: domain of itrue@emlix.com designates 178.63.209.131 as permitted sender) client-ip=178.63.209.131; Received: from mx1.emlix.com (localhost [127.0.0.1]) by mx1.emlix.com (Postfix) with ESMTP id 6DDF95F87E for ; Wed, 26 Nov 2025 10:04:39 +0100 (CET) Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id 563795F9B0 for ; Wed, 26 Nov 2025 10:04:39 +0100 (CET) X-Patchwork-Original-From: "'Isaac True' via isar-users" From: Isaac True To: isar-users@googlegroups.com Cc: Isaac True Subject: [PATCH 1/3] linux-custom: add linux-tools package Date: Wed, 26 Nov 2025 09:59:01 +0100 Message-ID: <20251126090202.3091051-6-itrue@emlix.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251126090202.3091051-5-itrue@emlix.com> References: <20251126090202.3091051-5-itrue@emlix.com> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-Original-Sender: itrue@emlix.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=fj3ptYcG; dkim=pass header.i=@emlix.com header.s=20250930 header.b=fj3ptYcG; spf=pass (google.com: domain of itrue@emlix.com designates 178.63.209.131 as permitted sender) smtp.mailfrom=itrue@emlix.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com X-Original-From: Isaac True Reply-To: Isaac True Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Add an additional package to the linux-custom recipe which can be used to deliver tools built from the kernel sources, such as perf. Signed-off-by: Isaac True --- meta/recipes-kernel/linux/files/debian/control.tmpl | 10 ++++++++++ .../recipes-kernel/linux/files/debian/isar/common.tmpl | 2 ++ meta/recipes-kernel/linux/linux-custom.inc | 1 + 3 files changed, 13 insertions(+) diff --git a/meta/recipes-kernel/linux/files/debian/control.tmpl b/meta/recipes-kernel/linux/files/debian/control.tmpl index ee87cf92..1c253530 100644 --- a/meta/recipes-kernel/linux/files/debian/control.tmpl +++ b/meta/recipes-kernel/linux/files/debian/control.tmpl @@ -69,3 +69,13 @@ Conflicts: linux-kbuild-${KERNEL_NAME_PROVIDED} Description: ${KERNEL_NAME_PROVIDED} Linux kbuild scripts and tools for @KR@ This package provides kernel kbuild scripts and tools for @KR@ This is useful for people who need to build external modules + +Package: linux-tools-${KERNEL_NAME_PROVIDED} +Build-Profiles: +Architecture: any +Multi-Arch: foreign +Depends: ${perl:Depends}, ${shlib:Depends} +Description: ${KERNEL_NAME_PROVIDED} Linux tools for @KR@ + This package provides kernel tools for @KR@. + . + This is useful for people who want to run things like perf. diff --git a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl index f9cc2f02..a104784a 100644 --- a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl +++ b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl @@ -12,6 +12,7 @@ KERNEL_PKG_LIBC_HEADERS=linux-libc-dev KERNEL_PKG_LIBC_HEADERS_CROSS=linux-libc-dev-${DISTRO_ARCH}-cross KERNEL_PKG_KERN_KBUILD=linux-kbuild-${KERNEL_NAME_PROVIDED} KERNEL_PKG_KERN_KBUILD_CROSS=${KERNEL_PKG_KERN_KBUILD}-${DISTRO_ARCH}-cross +KERNEL_PKG_TOOLS=linux-tools-${KERNEL_NAME_PROVIDED} # Force creating debian package with valid host arch for -native build # Use a cross build to comply with arch specific kernel defconfigs @@ -38,6 +39,7 @@ deb_libc_hdr_dir=${deb_top_dir}/${KERNEL_PKG_LIBC_HEADERS} deb_libc_hdr_cross_dir=${deb_top_dir}/${KERNEL_PKG_LIBC_HEADERS_CROSS} deb_kern_kbuild_dir=${deb_top_dir}/${KERNEL_PKG_KERN_KBUILD} deb_kern_kbuild_cross_dir=${deb_top_dir}/${KERNEL_PKG_KERN_KBUILD_CROSS} +deb_tools_dir=${deb_top_dir}/${KERNEL_PKG_TOOLS} # Array of packages to be generated declare -A kern_pkgs diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc index 391bd6fa..cd0a6f6a 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc +++ b/meta/recipes-kernel/linux/linux-custom.inc @@ -160,6 +160,7 @@ RECIPE_PROVIDES = " \ linux-libc-dev-${DISTRO_ARCH}-cross \ linux-image-${KERNEL_NAME_PROVIDED}-dbg \ linux-kbuild-${KERNEL_NAME_PROVIDED} \ + linux-tools-${KERNEL_NAME_PROVIDED} \ ${BPN}-pseudo-native \ " # When cross-profile is active: