From patchwork Sat Jul 22 02:30:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinuvasan Arjunan X-Patchwork-Id: 2983 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Sat, 22 Jul 2023 04:30:57 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ot1-f55.google.com (mail-ot1-f55.google.com [209.85.210.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 36M2UuYC001024 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 22 Jul 2023 04:30:56 +0200 Received: by mail-ot1-f55.google.com with SMTP id 46e09a7af769-6b9efedaeebsf5223989a34.2 for ; Fri, 21 Jul 2023 19:30:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689993050; cv=pass; d=google.com; s=arc-20160816; b=PiDZtkz57FuUTnA3N44Qg490O2Yo820EjS5keKoMVDkyuYXT5vuBLj60VNyd4UfmTg T7gK41Tll6hom/H9DI+miLqTS9uOGvjF4SIhPsisJYZScI9TjTCtTQLY+C29RpiiE/7x 1VpUIS+PAx8SPJ0v0lROxHAUKDKrej1gpBXo5N0y7Z4Km6WuOS7UQSPND8D2jRdhLace SH8Tac+wN/fZMIs6B6EQ+i+x/aCzjvz3ttQQqU7hAZuTIlmXdB4H5wteqBOoy3weowel lDOdvYt999EP3jpUBl4Xo3G15aanLoltMDRgGHy/rtERWoIucOSGAVeFOMTZUySTqDFf fjOA== 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:cc:to:from:ironport-sdr:sender:dkim-signature; bh=5Kb+/AzHirblzt+k0AsLFXili5ynJqSUfdjZfps57e4=; fh=9nannUSyN0yMmOzkcaBBD5a6gzPq4h1XhqyNXoOh+gQ=; b=Of1StgWpJHH7/nVFkLOIvPGl86uEdxl1pTZzU9LOxfl63W6L9/EihxI3eMXWbp+mjn bwNdaVHZJ8Jwe5mI/EDz9Ws98NPymjxSWE2Eb99MLPx66zWclsWTViYqKTy/a3bV/6wX kcFcf+GPcX9PnZ+9xT2a1c6+J+yeidpbHszlL05OAnMEI3vbxN1JSUSsjD0fKpLRWrqQ hm5zlAK0f1rONXhNHJ20OH7gj6Jq3Qc5PqeeZlHeRlIMX1dBQZS+6jngFH8cT0Db08zd USya5wr51sfu6Anc68f8K7ubLyXovfCPlRvea6wltRYjC8rwwLYexFINj1crcDK4C1yZ lASA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of srinuvasan_a@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Srinuvasan_A@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1689993050; x=1690597850; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :ironport-sdr:sender:from:to:cc:subject:date:message-id:reply-to; bh=5Kb+/AzHirblzt+k0AsLFXili5ynJqSUfdjZfps57e4=; b=cqiqhGif5pcmuVJafGSjJGhMH0dOYmnp+wl80QWUd4NrX3yYPW0dlbarIeoZi6Pjb7 hDOnRppI+TlY/gRf6ODfI1yIYz2j8LaUJHMtqZXmZOJGeTdnZHjx2yWp94HECI1iIXNE QXuppnaWNof16DP/iGZEJcHyEgcseiN/Bgp4bmzjCueEDlFFAtJHatyP1+u8TOrRZpq/ p0cmYpEBjUv3aAlWYvtK4raSuqFOpkmY9bKoKpZ6Ipb2tk+ITxxUBD8/YLJ3gy+qGQm2 KaFKXc879KsNFMCb5HUzhKG0lMRNxnnHtvMufn5ccBb75NATWMUMKE4ou+/dMd8MKPX1 eL7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689993050; x=1690597850; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=5Kb+/AzHirblzt+k0AsLFXili5ynJqSUfdjZfps57e4=; b=JAPmm5MABKtkHenjYJGVqf7452Z6cFW/twHSDxCEjkUf9XLxWnP9CCRdYi8MMjvaF6 7Azlt2bxOG2Gze+Myasq1aCRwriMUwo27OUkzFyRpycEecRVFAOAk+xzl7mBrNYYzO3i uxhq6Ebtdmr9Yj6nOTwI2FE2GH5iv5kHBnSHQgpfs86oUbaWlpLDDc4fayXjpD5snMPK eOIQ3m0S2A+YNkEO3NA4aEP2TUJO3k1B9f9QqN+YlOSKCmKgqZp/DOGDICRd1rr3U90U JCxjifCIqZWRy3RsIz7sAkWG5XPYSGD4xdRsjWWinWcHuyoo/4LOZfXWW7+kuIIfulCf 3Y2g== Sender: isar-users@googlegroups.com X-Gm-Message-State: ABy/qLZA1VMk5zMU49FtOGO383EEfRBWbnMo8LT7WmxnPVBbA16np0i/ 59kxrc9ixXzMxJmVeUWzy8w= X-Google-Smtp-Source: APBJJlGsCWUrwnfigvcI+4kC5yArlMvBxdr5KtWDmIRCk1q3GIfQpxsxir3tDUE5j81PYkl7+RQu6A== X-Received: by 2002:a05:6870:b68b:b0:1a9:8bce:9c59 with SMTP id cy11-20020a056870b68b00b001a98bce9c59mr4286257oab.13.1689993050521; Fri, 21 Jul 2023 19:30:50 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:d60b:b0:19f:9f28:a580 with SMTP id a11-20020a056870d60b00b0019f9f28a580ls1362421oaq.1.-pod-prod-05-us; Fri, 21 Jul 2023 19:30:50 -0700 (PDT) X-Received: by 2002:a05:6870:2194:b0:1b0:4e71:590 with SMTP id l20-20020a056870219400b001b04e710590mr4964584oae.9.1689993049946; Fri, 21 Jul 2023 19:30:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689993049; cv=none; d=google.com; s=arc-20160816; b=PikFCsQOR8fgwWGVE8RIx+wnXlJ+etYsRNgBgaPmkqZpZ0P6hm3ZklrGDobV1T3eZ3 Pw44cFh4FDqJmpcBPIvEDC9nd72tkZcDf0oOXJWBwH4t+iUjJI7i4MkkmFdDzdeI6GBn 3sesCYmQgK/OVQU745yyU476Fqe5cOtnJ9J4g1AZfX/hRqZrp4b+RpzSuIIOkq9CEqTT lXgnkujxhLW/ZD8BtIXXM7nbQXfmuqAyuas+N1o9ki3G51SlcA2h7tqEMjxqNOynPHSf bf08wRANPo9Ej03zv4vCSpwGu5zeOlmHub88is6bCIPkJoBd6FefzNXQUSrggtqOWl8e ov9w== 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:cc :to:from:ironport-sdr; bh=Fufp3MH8g/qW7Sr815d8L4kltTSOhe31OZk0n9heDQo=; fh=9nannUSyN0yMmOzkcaBBD5a6gzPq4h1XhqyNXoOh+gQ=; b=OFyn+ovnHI5mdfXKqk+wKb7PmkoLXCbO+mpR8YrcvROAwmd7M1CUcbvMDHf2Qw3DHs ZdlruXppLInGTa2M7WYLAkVY5VTYcafci9RXqiwBe+kJU7Owgunjz8rus55Wv08R5O/H iPLBd+Vxqbcs9VGLwOKokl9zXMmEXGGwlnApYSNbhc4/ZGAvJmP0Wf4ymJt6160OoBJI Gu2pWugcj+V8vIguDRSGmgXayhXwhR79j/LtUnlWkpfQJqraE7Ck/UQ68b4SvnyQUx/I m4iQUjmFJdCLzH2EPOysTSQbOasNHp/8tC6lcAqUn8xmkE5+E6zGkXHEqPELwi5VWbEZ QVvQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of srinuvasan_a@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Srinuvasan_A@mentor.com Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com. [68.232.129.153]) by gmr-mx.google.com with ESMTPS id os19-20020a0568707d1300b001bad218c7f2si360203oab.2.2023.07.21.19.30.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jul 2023 19:30:49 -0700 (PDT) Received-SPF: pass (google.com: domain of srinuvasan_a@mentor.com designates 68.232.129.153 as permitted sender) client-ip=68.232.129.153; X-IronPort-AV: E=Sophos;i="6.01,223,1684828800"; d="scan'208";a="14074486" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 21 Jul 2023 18:30:48 -0800 IronPort-SDR: 95MWwl7QQnXzAZskr7QbFakPiooGrNWXAVkW8Bx2UqmvdbTY8fM4krlWtfte0idgk6NHgEJDZn cd7e+unoItkO+DdqVDtJ5fIhbP3EoDatXkSHqbK+jtr1cKQou8LByYHpTv5pQTPOrJtvIlBcCv vQKg/L63wsEKdxGAFHVdw5jAGLVkUeKgyWCy0PsMw6OmChsf6ThaPxbUR/EPPfm51X1bIEpXoJ Pgl5aRs7/pWTauv6Aw8u18zWEmlDoEa38/SGhcqBQAqSuyaW9AcnBFSk7mdiJaRPb1LUxgtKgE brE= From: Srinuvasan Arjunan To: CC: , Srinuvasan A Subject: [PATCH] sbuild-chroot/sbuild-chroot-host: enable apt-utils only for bookworm Date: Sat, 22 Jul 2023 08:00:29 +0530 Message-ID: <20230722023029.1710181-1-srinuvasan_a@mentor.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-11.mgc.mentorg.com (147.34.90.211) To svr-orw-mbx-13.mgc.mentorg.com (147.34.90.213) X-Original-Sender: srinuvasan_a@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of srinuvasan_a@mentor.com designates 68.232.129.153 as permitted sender) smtp.mailfrom=Srinuvasan_A@mentor.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-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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?= From: Srinuvasan A In downstream layer we try to cross-building packages for bullseye, but it throws the below error: | Reading package lists... | Building dependency tree... | Package apt-utils is not available, but is referred to by another package. | This may mean that the package is missing, has been obsoleted, or | is only available from another source | However the following packages replace it: | apt:armhf apt | | E: Package 'apt-utils' has no installation candidate | WARNING: exit code 100 from a shell command. I hope the APT resolver (/usr/lib/apt/solvers/apt) only demands for bookworm, hence it's enabled based on BASE_DISTRO_CODENAME. Signed-off-by: Srinuvasan A --- meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb index 255d693..9738a1c 100644 --- a/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb +++ b/meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb @@ -16,7 +16,7 @@ ROOTFS_BASE_DISTRO = "${HOST_BASE_DISTRO}" SBUILD_CHROOT_PREINSTALL ?= " \ ${SBUILD_CHROOT_PREINSTALL_COMMON} \ crossbuild-essential-${DISTRO_ARCH} \ - apt-utils \ + ${@ 'apt-utils' if d.getVar('BASE_DISTRO_CODENAME') == 'bookworm' else ''} \ " SBUILD_CHROOT_PREINSTALL:riscv64 ?= " \