From patchwork Tue Sep 22 07:28:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 62 Return-Path: Delivered-To: ilbers.mnt@gmail.com Received: by 2002:a4a:eb04:0:0:0:0:0 with SMTP id f4csp4470874ooj; Tue, 22 Sep 2020 08:28:57 -0700 (PDT) X-Received: by 2002:a17:906:364b:: with SMTP id r11mr5436946ejb.48.1600788537494; Tue, 22 Sep 2020 08:28:57 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1600788537; cv=pass; d=google.com; s=arc-20160816; b=mWsywjXJp8g1GRlgn0s7rqjIODECwK7juY73S/NtUqkZLtljgxM0E0n42U7xshbhwn VgXO0+Y5uwipkgKjLKpUG0cQi7Yt3Sv6Ue7JsAuySsUu4jyJDQlF/sU/VGFLZjT164zV 7FZ9ZJZlVlzaFHzCXahQqJdA/Rvp7tPc2a6852eXWo4qFj0jZbG0D74q4igFc5GGHwdL oux04HL/ZETql4+BshZj9Ah4qOGAX/Cchk9kDDrdSuBDdVgwyMChvXjuoMTK0cTLwyAC 9QNvcWHIX7l9LZv6yhCEi0ll+I2je+7oZm2w5USzLWcpu2LI8OoYeWfHZlny7H3Mp49W pvvQ== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:to:from:sender:dkim-signature; bh=Xuzv4kDF3rHTkKkN3CehmlR3OSelnjeX+wVZk3K85UM=; b=hzWpbAKvstHJUVc5kBRIVDX9ctd7SYoCK5mVhiRAGY1EpkqU3Hh4DDWzdR4IiHKeYy xzVLFaSoIbSS5uw5tjoETJBR7I2JGONuMVAp6yaLkvqVLPsPORTbIINKQyaaDrAESlQR VDvCaYZqdTfuPlge1jcWBq8hDHqL/FeWvje0V1UIFVc2Tu8HOYinc+4/EFCo1/RBKnKR 8xTHqtosJKqmQcHVNynTssWg4Q6GPlQuWk9M+eMKtBML+sSylrSVHCVJhoUY/kR7fcZt hw6VFhnfhPCYZDgSoqdAHLdwxhLazXDd5B6/iQ811QJWlFx8CjaabJRr4cfY2KTd0EpM yaoA== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=oJsh80bT; arc=pass (i=2 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of isar-users+bncbcji7smnv4nbbofqvd5qkgqe6nsxr5a@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCJI7SMNV4NBBOFQVD5QKGQE6NSXR5A@googlegroups.com; dmarc=fail (p=NONE sp=NONE dis=NONE arc=pass) header.from=siemens.com Received: from mail-sor-f55.google.com (mail-sor-f55.google.com. [209.85.220.55]) by mx.google.com with SMTPS id e9sor7783708ejd.16.2020.09.22.08.28.57 (Google Transport Security); Tue, 22 Sep 2020 08:28:57 -0700 (PDT) Received-SPF: pass (google.com: domain of isar-users+bncbcji7smnv4nbbofqvd5qkgqe6nsxr5a@googlegroups.com designates 209.85.220.55 as permitted sender) client-ip=209.85.220.55; Authentication-Results: mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=oJsh80bT; arc=pass (i=2 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of isar-users+bncbcji7smnv4nbbofqvd5qkgqe6nsxr5a@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCJI7SMNV4NBBOFQVD5QKGQE6NSXR5A@googlegroups.com; dmarc=fail (p=NONE sp=NONE dis=NONE arc=pass) header.from=siemens.com ARC-Seal: i=2; a=rsa-sha256; t=1600788537; cv=pass; d=google.com; s=arc-20160816; b=kZGkJ1ZGCSeqGKqaZaQ6v31HFNdkZJE7KyZLcgR7WcKfsYkEar2DiC0DSBdVReOnjp dUjIdYBxO97XMvJFTyPKLhtp7ZR+9ONyvxV5QaHxV81vjtpD9azjC/ZSUgkoboAWNrvB /F85Ws9aG90WgPIxGhm2pi0CVMeu+9Co56b6kDiqGDBRjzLRnfrkrwdBi9azP1ANm8JL vxgCSBF/HWrpTdqiJxUHoqqSOItd2y9vwIWCpQoL+uM2r6uIlHuK9GpQMinx88uw0oq0 9WbcN73vj3YtGPy5uTPmaMM7AV28s5VhA9PL8EVf9qBhPjS1bDfPNgT7FmHpq2Xb9AAE GK4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:to:from:sender:dkim-signature; bh=Xuzv4kDF3rHTkKkN3CehmlR3OSelnjeX+wVZk3K85UM=; b=qN6B6a1wqkemGppiqufKvmYeuaSTkurumdVpLKoaMxsv+IWQNQ6pAqJoupXo1MbVBZ uSeXCiCp1iUOsEc44eDbKQ1YPBPzcHptbENPoJDxu2dCoEU/0VAaX5YBRT3nmYvfWaZ1 Da3e6p7HpX7+x/yKwXAN1KpForzOcQJoCzdTJMIaEr49Yy4bfzk1KVZlSMKvkPmSzjhc tlLLxB/SncHwpfKutuiB8q0DvPn4W+lArIGeSfHmMW8oPkss1ROlXDrDEMOWOzb+sPIR v0B+CEkQcSognC74ps/PXqCtG4Hp7Bwpzbg/MQFEGMoLj7GeQmsTxzsx9QLOvgiaI1Tx T4TQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Xuzv4kDF3rHTkKkN3CehmlR3OSelnjeX+wVZk3K85UM=; b=oJsh80bTzmOZL/AQ4VICJmYCspXT9rtdnZR2sURdAOMq1cG7htNxHjY4n0VLr+cuqf PALnNBAibHCnCE1jJVW1AtY3dJUyidOrhpr3Lze+K0Ifnwun6UMC+zUGEcX2mvo2fVuV WLNdqvQocwuJxmuD1P8xTJZ1TA70I4Jex6c9797tzSnDRrKCkFhB8Zevu6/QpdK3EmDz uJeSzvXZWPwJBYSQ0w9he28hFlGSLF6GGwPBus8pMINbqUAY0Sslu9bJWM4w89Yxpp8q gVR/VXX+ertsWKgpZLEbY8py3S70UjdOmPeABHblzB1SSFQCBygA6ELLupvUpzeb/zUh aFEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=Xuzv4kDF3rHTkKkN3CehmlR3OSelnjeX+wVZk3K85UM=; b=E72fFXdI5vv6LuGtbQDN4dhjAwY7txxCizg2mGWcgCdepLOM/VyqBkDa6xQevuuoHB e/OC5lIjMrkuVS3uClxfx6Ju8QZzlHy26VOIQ84RaXOgT/Yzwp7VR4wM97MkDI8JSwnv 7Ta3PcSxKOk0priYzFrs/IusS0W80H4fLBg86TSkGklFB4NRvnkrV+af2nqdP2ves+n6 BMoG5qyjuj7kyP+FKQhfDIW3oFwRQ+qUfT4p+zRShnBqfqMhvY0Tl5AkEqpv/4HEyszB TRFyhY5m+b2L2HgFt0XqjkwpwoBXXBwz/kr/6FEWsggEchPngS5uuWWHkD9+HJx2x8GB SSag== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM531h/GuCTWgt1iutCCOaWDBrB7quwRwFrieDXSvmj2QTBFN1+y/f CuofzPxqw7AF2l3uNOi8eCQ= X-Google-Smtp-Source: ABdhPJyOhZhw/60BeoI31nYgRqt2XqrsLQ5nPOJ6n7wEG7XIdRawo9jsHXuK9eRH8pt6SAawB0TsjA== X-Received: by 2002:a17:906:8c1:: with SMTP id o1mr5681096eje.478.1600788536974; Tue, 22 Sep 2020 08:28:56 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:a20b:: with SMTP id r11ls7051050ejy.4.gmail; Tue, 22 Sep 2020 08:28:55 -0700 (PDT) X-Received: by 2002:a17:906:6682:: with SMTP id z2mr5794112ejo.434.1600788535855; Tue, 22 Sep 2020 08:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600788535; cv=none; d=google.com; s=arc-20160816; b=ImmgI2rOuRcJzLUQP6w4+ZfoDh8heo3rglbz24N5AMoAw3KGN6J7MiZpzMwZeOKJcu i+uRcbseAhvlwcBvwuIvXUdkJ8zrguZ7XCmv5uraluZHAHOYc9/wx2UCnRuXf4NjabsK a9B1GAq2AjXMUrKuVWoEUFCY+7dJt7s8o8tyDkheMNa9Nxpe3zifXeQ92pGRqNA2lZIz +fE3SHr9bf9OPQlL6pmFa6/obGGYcW3IGAL91d5tFGbKZAM+XgP5Cuc1zmPYGlMAyMtI 0uu83mQPpJooWQ4PQHdKT9PTRO0I4XN8FG39t6a2aqhoNHGbUzog2a0RwwiAMhKGszW9 d4pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=3JSwQNz31WmOwyDomlFjcRUr+NefFL05gtOgrWGECf4=; b=NPZ+ZFYpJ+uTXAk/FllHhoOjiteiqn1oBj8sPSU3Kax37xR+d1Mmz1fHNwLNRwGtOx moJpIv/eulyc1+WmQMbV6R++eJ9g6UQMQIrq0+g/xGaNYjwSFwdvUJ+sRoI3BkQQflwm li1wh1lxFgPBJURNEwHpvaSRVsD7PpBmdzCU5z0UUeSqNo+LMcBij7SNqUhimid84ULa wgVrniZ1952fMVxFsyuvApx2x9a3wotYYY4pbbVbo9MSfasxY6eFS9xCOF+dFiw9vVXI Z74KHrBl6qPMM65kGmhiTrUtG+yVKfKau6SeGtJsccvMtIq/Rbr5CiC3e3RrZLHeFNgJ /DNQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id w16si348816edq.4.2020.09.22.08.28.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2020 08:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 08MFStIG002173 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 22 Sep 2020 17:28:55 +0200 Received: from md1f2u6c.ad001.siemens.net ([139.22.130.132]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 08MFSsV3031723 for ; Tue, 22 Sep 2020 17:28:55 +0200 From: Jan Kiszka To: isar-users Subject: [PATCH v3 00/16] Complete backlog: SDK, compat arch, assorting fixed and cleanups Date: Tue, 22 Sep 2020 17:28:38 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Original-Sender: jan.kiszka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1678548441575747241?= X-GMAIL-MSGID: =?utf-8?q?1678548441575747241?= Not all of the patches have dependencies, but let's make it simple and push them all again at once. Changes: - fix for false sharing when building generic packages from source - make isar-apt opt-in when building SDK - adjust cross-build documentation - switch back to hello-isar for testing compat-arch build - add an attempt to mitigate "gpg: can't connect to the agent" That last patch is under observation here. I had multiple of such failures in CI with the queue, none after it yet. But as the error is sporadic, we do not know for sure if it truly helps. Jan Jan Kiszka (16): Split up isar-apt into distro-arch specific instances linux-custom: Clean up minor inconsistencies in rules.tmpl sshd-regen-keys: Issue sync after regeneration meta-isar: Drop outdated cross-compilation comment qemuamd64: Fix OVMF path sdk: Add support for adding self-defined sdk packages sdk: Make all links in the SDK chroot relative sdk: Add script to relocate SDK sdk: Make shipping the isar-apt repo opt-in sdk: Inject sysroot path when calling relocated toolchain sdk: Update README.sdk Add compat architecture support via multiarch ci: Add compat arch support doc: Enhance list of supported cross-archs, drop QEMU reference doc: Describe new compat arch support isar-bootstrap: Connect to gpg-agent before adding keys doc/user_manual.md | 26 +++++-- meta-isar/conf/local.conf.sample | 6 +- meta-isar/conf/machine/qemuamd64.conf | 2 +- .../recipes-app/hello-isar/hello-isar.bb | 3 + meta-isar/recipes-app/libhello/libhello.bb | 3 + meta/classes/dpkg.bbclass | 8 ++- meta/classes/image-sdk-extension.bbclass | 31 +++++++- meta/conf/bitbake.conf | 7 +- meta/conf/distro/debian-common.conf | 3 + .../isar-bootstrap/isar-bootstrap.inc | 18 ++++- .../buildchroot/buildchroot.inc | 5 ++ .../sdkchroot/files/README.sdk | 71 ++++++++++--------- .../sdkchroot/files/gcc-sysroot-wrapper.sh | 16 +++++ .../sdkchroot/files/relocate-sdk.sh | 44 ++++++++++++ meta/recipes-devtools/sdkchroot/sdkchroot.bb | 34 ++++++--- .../linux/files/debian/rules.tmpl | 6 +- .../sshd-regen-keys/files/sshd-regen-keys.sh | 2 + scripts/ci_build.sh | 6 ++ 18 files changed, 225 insertions(+), 66 deletions(-) create mode 100755 meta/recipes-devtools/sdkchroot/files/gcc-sysroot-wrapper.sh create mode 100755 meta/recipes-devtools/sdkchroot/files/relocate-sdk.sh