From patchwork Thu Nov 3 15:55:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Roberto A. Foglietta" X-Patchwork-Id: 2203 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 04 Nov 2022 20:10:05 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qv1-f60.google.com (mail-qv1-f60.google.com [209.85.219.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 2A4JA43s006877 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 4 Nov 2022 20:10:05 +0100 Received: by mail-qv1-f60.google.com with SMTP id h1-20020a0ceda1000000b004b899df67a4sf3806757qvr.1; Fri, 04 Nov 2022 12:10:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667588998; cv=pass; d=google.com; s=arc-20160816; b=YLhXmrszVSvI0ADYACNtz0NLVJjBLWhJxADeRYdBtNes2iAHjRI9jR5UOhLMIAJGVK ihDQ2zqCdBJk0cCabbo0cy7Sy0wNv2DkO3by2h+nyXVYxSPtLBoWmpgO1PX+oDntVA3d Fp9vGoVC8hE/IqzM8q+OrvRbmsJdZO8wlhgLs8kcArjXNT+x+Qtz9PBv93oVYzyDUvdU 9TSoDDqPhUI2GtEKF/GMiYy7CTxMgyQyMBHlSv7bJPM8nmiRoBR8Tz0w+eKeL9I8fplu c6EgFjvvXiXMcKlUGivdJ83vluU2/98KeF3DYbBfXmxCxxiIcgWPFzdCOXkD6KMAv4Pw Q9RA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-subscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:list-unsubscribe:cc:to :reply-to:message-id:subject:date:from:sender:dkim-signature; bh=X56w5WYyX2PRqeSIzRLMlGLAPLqZLjhgZJLbk0jW4uM=; b=rLfcb3O9mC5//NMfCEkUERsemfxh2n8x3V45To/NnGFBhipoWj7++GcEigGCO/e7TF 7U5tJ/JtTuA0GF15zlbtUskoBRaxGtJORzhidwDM3XDCVI+/LvaehvgNPbf2kjHmWDWO KcqpW+OxGg6uau4n1cNsnFaKygxGlgveYPWSckA9taZAhSOYdJMdjU1Y+zgYcqKWQbkf AODWBCVerECEDdSofj2Y/erDJF7nqs3+r4HnYF1HVKJbaV0iBO97MxSL2k4kDPyEHqlx Se9rcXRDq/PkIqVbxcnsqu2lNzl9YTtUEwXJ0VsXD6TG7Qf57Tk2/kULqnGIMzVCSpNS Bk2Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of bounces+q_emhep7ci2davn54u8alw2@bounces.elasticemail.net designates 67.227.85.142 as permitted sender) smtp.mailfrom=bounces+q_EMhEP7Ci2DAvn54u8ALw2@bounces.elasticemail.net; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-subscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:list-unsubscribe:cc:to:reply-to :message-id:subject:date:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=X56w5WYyX2PRqeSIzRLMlGLAPLqZLjhgZJLbk0jW4uM=; b=B+RZ+OXOwoCmHwB8OwrPxT2ODO6um/pAsl38rn9S7Q/sDuCajzVtye9Xc/dMvohpwl Pi/pOoXhs7srKwUi/GvqKypX1CopZQLbOmfQDYp/tCvLbGxuUnWHJQmXKPxGMbqrqZip GU2eIwILoMgq4LriOgLMc+Lfc3owhz1QnldM4XFfpL347WtcrJaFd0BgfC7ICfrsprHc oB8QAlquIPdPzBEnHf/ROTBlt22ylqbRgrZO7BbrA0mNWgWCdjeOVZEiY1H8H8DojkJs WP7i0QSIJiwE7ZX59U4J9f4zzaWaYa6bTsAPwKQjboZZ6Nd+Jd4DxtygYLhr/xK/Y4wW LmtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-subscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:list-unsubscribe:cc:to:reply-to :message-id:subject:date:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=X56w5WYyX2PRqeSIzRLMlGLAPLqZLjhgZJLbk0jW4uM=; b=av7omlTbkTBc4QIcfifGJPJnbK+bZWqM/lXIBb20/3VOQ2Z4vLoCq53bB9uMAlOeCu lesmKk5kRP4VlcWOAiA5ACRnUwQbc9wGM2tZyktzJ2Oik7AR/argmDzJ897HQImgzfn2 Fk81GUK6uvk3ff1EmjWFgpDy8Dl/+OfaS2tshcYMciC6icHtncpCuTNcVr/W5S8QW4WA 3SeA2w0prTJddOzwANemTOZZJg1dVkF2mj8gZZ9soql4W0HihqQra7FRNQ1IiPaye8e0 X5Y8UyDGRuZnwlgljDCNpyU4dwFd39RQKIllMCOFOs3Wf+cdpUSJbI0dtobwVzAcq88y rxxg== Sender: isar-users@googlegroups.com X-Gm-Message-State: ACrzQf1qfl4ilam9rbnND8EQE2ea0lLSFZEw4XRC3j6URP3O1yfgiKs7 PDC27hZKc0O1V3P7hayITR4= X-Google-Smtp-Source: AMsMyM7tl0e2iyMA9exKjgJ3e9GT1TN0FYCmBWh39XwuxCGUR1/h1Wnn8kqAiOJAA47tgDNxu6FBFQ== X-Received: by 2002:a37:6853:0:b0:6f9:fadd:2b50 with SMTP id d80-20020a376853000000b006f9fadd2b50mr26797954qkc.161.1667588998776; Fri, 04 Nov 2022 12:09:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:622a:2591:b0:397:2eb:2a1a with SMTP id cj17-20020a05622a259100b0039702eb2a1als3555699qtb.9.-pod-prod-gmail; Fri, 04 Nov 2022 12:09:58 -0700 (PDT) X-Received: by 2002:a05:622a:13c8:b0:3a5:4cee:4ecc with SMTP id p8-20020a05622a13c800b003a54cee4eccmr10414101qtk.351.1667588998416; Fri, 04 Nov 2022 12:09:58 -0700 (PDT) Received: by 2002:a05:620a:1990:b0:6bb:4ead:1fcd with SMTP id af79cd13be357-6fa7296cbf5ms85a; Thu, 3 Nov 2022 08:55:22 -0700 (PDT) X-Received: by 2002:a5d:530e:0:b0:236:e1b9:4a9 with SMTP id e14-20020a5d530e000000b00236e1b904a9mr10391540wrv.70.1667490922057; Thu, 03 Nov 2022 08:55:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667490922; cv=none; d=google.com; s=arc-20160816; b=z7C2a4X4udyujHw7aJnysKfBmMuNdz+/mAHO9/NPygeuIckQwyo20L71aTbA3P5pYW uAIQUtIqIHifMQecHSr4xVWWBpOpNsuMVJ9Qoe8KJq7d+wtHRxHA0gpsn9jpHFObQYe7 Guqcpebq49BKLlaXB85pWICSkTj3ysP7ITpjEMaSmplXr+rHkAsRw0e+ImbVkhPXN5c2 0Uu3qGoLtxjIWLawVvthLC0Zh0MjiUcmI2/26OyQoEEOg8n1nTlldqui/+rdVcjHAROA 3cOSHe5aRJJZD1WMvstlfsWuUNeTFJaQFYKOnJ+HB1Tg5z1dqM2gWWcY6vj1nfHY88Jl 9HCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe:cc:to :reply-to:message-id:subject:date:from; bh=2WU4rBwgFh+Bp3GvShbZXrRV1MRckfsFTinv25sZaGY=; b=m4kpw2bRrs9Xf4WLFKWmFTMYj/jVNb944HlhlMX0jqGFawD+f2ERayeA63ES0bAZug /ov0+NByEJ0xnCKzNkCOZl7Oe3EYtIU/w+Lq45qEw4vWWsEc6eGLJ76llV/ngflXEsDK 9fLUIFbl6fhf2I86mbftHt9eJR4JSFwYXlhM42dTaibTmKeJsLdSt6tRd2eYE5O1YEF7 Q32ZZHWxyniRFTRGsnU5fwW58CejUJ6oj/nyJdMRcj0ls9xNZEHu2ZSkSxdNNkymXCI0 0kJsOnpdTpnvg19Tg22M3q0foEV5r1d8A1Zpmzk2O3/YGSULU5b2PHkwMfY3KDKlNO9F awfQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of bounces+q_emhep7ci2davn54u8alw2@bounces.elasticemail.net designates 67.227.85.142 as permitted sender) smtp.mailfrom=bounces+q_EMhEP7Ci2DAvn54u8ALw2@bounces.elasticemail.net; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from m142.mxout.mta4.net (m142.mxout.mta4.net. [67.227.85.142]) by gmr-mx.google.com with ESMTPS id 189-20020a1c19c6000000b003c46c479be1si249020wmz.0.2022.11.03.08.55.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Nov 2022 08:55:22 -0700 (PDT) Received-SPF: pass (google.com: domain of bounces+q_emhep7ci2davn54u8alw2@bounces.elasticemail.net designates 67.227.85.142 as permitted sender) client-ip=67.227.85.142; From: roberto.foglietta@gmail.com Date: Thu, 03 Nov 2022 15:55:19 +0000 Subject: [PATCH] linux install.tmpl: added CONFIG_HAVE_OBJTOOL in OR for objtool Message-Id: <4uib2il4q62q.q_EMhEP7Ci2DAvn54u8ALw2@16F0H.trk.elasticemail.com> Reply-To: roberto.foglietta@gmail.com To: isar-users@googlegroups.com Cc: roberto.foglietta@gmail.com List-Unsubscribe: , X-Msg-EID: q_EMhEP7Ci2DAvn54u8ALw2 MIME-Version: 1.0 X-Original-Sender: roberto.foglietta@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of bounces+q_emhep7ci2davn54u8alw2@bounces.elasticemail.net designates 67.227.85.142 as permitted sender) smtp.mailfrom=bounces+q_EMhEP7Ci2DAvn54u8ALw2@bounces.elasticemail.net; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=no 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?= From: "Roberto A. Foglietta" linux install.tmpl: added OR with CONFIG_HAVE_OBJTOOL for objtools a fix for newer kernels (since 5.19 for sure) to include objtool The newer kernels (e.g. v5.19) when compiled and packaged by an ISAR do not include the objectool anymore in linux headears package. This obviously breaks any activity which expects to use that binary executable. Signed-off-by: Roberto A. Foglietta --- meta/recipes-kernel/linux/files/debian/isar/install.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl index 0a8645d..8a604e4 100644 --- a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl +++ b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl @@ -177,7 +177,7 @@ kernel_headers() { echo Module.symvers >> ${obj_hdr_files} fi (cd ${O}; find arch/${ARCH}/include include scripts -type f) >>${obj_hdr_files} - if [ -n "${CONFIG_STACK_VALIDATION}" ]; then + if [ -n "${CONFIG_STACK_VALIDATION}" -o -n "${CONFIG_HAVE_OBJTOOL}" ]; then (cd ${O}; find tools/objtool -type f -executable) >>${obj_hdr_files} fi if [ -n "${CONFIG_GCC_PLUGINS}" ]; then