From patchwork Fri Jan 5 11:15:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinuvasan Arjunan X-Patchwork-Id: 3256 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 05 Jan 2024 12:16:32 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-yb1-f185.google.com (mail-yb1-f185.google.com [209.85.219.185]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 405BGQ8s002709 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 5 Jan 2024 12:16:31 +0100 Received: by mail-yb1-f185.google.com with SMTP id 3f1490d57ef6-dbea05a6de5sf1888095276.3 for ; Fri, 05 Jan 2024 03:16:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704453380; cv=pass; d=google.com; s=arc-20160816; b=ci1mQ5wQoskzxu7jC2MB6fmETiG0THVQEsKYmfmoeGo2ahlCos/2NfAo+mSDens7Ta Eapn9fMmWb4X2oAY6ul69Tl5N3QLfblsgAZArPCk9+S5s+QCmeJTmoR5XC8HqF3L0+hG yXNfqQ7AiP3H5iwKm0HhW1+t5BxR7++1dmnzkVye5hmIhYyuZCogvoQf9JDz8hoggrx/ RfgeOyLVnEYxU54ks4u8zFhyrTtOLZGtdCPkvxBH6g1wUYbfkOeIVNe09Fv+8nORy8G5 p0cCUuHqWnezlw3tFogKs56q3ach9YpSQzUc2reWRK06evsuSPG7fl9+p/5JC7GomBuH FsTg== 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=6uAnVMD82C8T7z2wnzmo4WpDxw2L1zMfuBZl6tYawHw=; fh=BRJhtpG+YMtbFPXN56knBnOIgkSrG/IxSIfcdjH6G3Y=; b=NoQDPRQg+wjXV98kqIOSrirTwt4P8h+eWJbGluBXXxc4AqsoY64RbKdnbw/gHBgLPe dt+u/QK2ySLegu9YpRxi2gBACw8V7wy5690Oc3Q9i/orkf1YegdZaKCV/23wRwKClzrk ZRe9Q+ts+rUxIq0mWIglWdxwKvNEoH32yj2uqSh0V0CfPPv5LzxqTGS8KMHbvO9981u/ 6O5LGRsXPIw/NeD+p0MeqtGHaw2hQXxu5mA73Mzq4T15nxY04j+w5xsYdMSlzPfZQRCI IOeaJdenyKxSn3HVx35PP/Ska/BpXJ8MRcceucU46uE36oAHl+CWD1wSD8gzZhZkSC22 Hpnw== 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=20230601; t=1704453380; x=1705058180; darn=isar-build.org; 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=6uAnVMD82C8T7z2wnzmo4WpDxw2L1zMfuBZl6tYawHw=; b=BgWVKTR6Kxq9z/S3QwtP9F4fA+mTPf3GG1Y+a//5DjiT5F6As8dZ/l4VUnKNQeEgEo liqq50QdBQScqltFRJcUYMSWQYJFfPFT5ORzZMUOjr9nCdZqBOMw9eiKl6zoTNr83fXC cBK1KBwNh2DC6520kjB2h0vgAR0+A3sNc9cZ2gsEWQXRO55TPdY/C3TcYEucZBJMN8lb JwECOvhKjc5OsbBpKPlD3OfrxlkoJkP7sILIqfg8RZPi6VPIJTuunvjuA3i4pQ1xC0aq hSv7PymHn26rVJRuBdH+cfAoJG6oT+And4Hgs59oKsXCt8JbraelAR97loC8KE4SDff+ plRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704453380; x=1705058180; 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=6uAnVMD82C8T7z2wnzmo4WpDxw2L1zMfuBZl6tYawHw=; b=xKhvQAvnCZ219ye61MRzFTi9jw6Pk1NXjnZ+27FCGZyFNcJT1Jq56Eabno2ov/XMd5 FIwhMCYIkC1+6v1f3mmphU50puEKGMgXlhfbJc53iFai5mjkYPOrLjOMXkp1yhU24pf9 faJWUBDRXUM0dMNdCSGhv/kKaW38NklJmTrsf4PyEkcXN31Or+fDaRyY82L4jEkvlWUK UqPx+jN3YQ0qxMvPfzTx5/FG++77cA/sy6ajeeFZgXcEMLXlEDtoN6bQTS8VerIBXb1s +nYXtU85i2fpYz3Utm0kPQPweU/Ubz6t1pNA6r2Hm4c8jw95DV3nUAYXFcKTqy14f9UP cJEA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOJu0YwDjFqLRd+DBYZuTDwt2sRmry+T9OFhjOXO9Qt4SmtLvlf8OZLF ruEw9w4ZQDhq23zpsDwjibQ= X-Google-Smtp-Source: AGHT+IEnCUKe9SQaR2jwpOZWyLsnDWOqMg/pzV8B941j0Jgu5gf0G10FCrPHEz8NvKE/0uMw2KN05g== X-Received: by 2002:a25:5f0d:0:b0:dbd:aec1:3dd1 with SMTP id t13-20020a255f0d000000b00dbdaec13dd1mr1631937ybb.84.1704453380442; Fri, 05 Jan 2024 03:16:20 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a25:744f:0:b0:dbe:ac10:438e with SMTP id p76-20020a25744f000000b00dbeac10438els240503ybc.1.-pod-prod-01-us; Fri, 05 Jan 2024 03:16:19 -0800 (PST) X-Received: by 2002:a05:6902:2101:b0:dbd:56fb:7ba9 with SMTP id dk1-20020a056902210100b00dbd56fb7ba9mr1804566ybb.26.1704453379592; Fri, 05 Jan 2024 03:16:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704453379; cv=none; d=google.com; s=arc-20160816; b=xEujzgPZwaXRycszD5JrPzUOtdHwohd4qDRu7/5GS7USKBesKQLThlIp5IALNmwwnG Nw8nhHX+ViHMk0s1MeAjPOwKn3wLWcO7Olkj219OC/xrrvjRe3VUll2aUp9rYWer8R90 Wl5z6jl90AAxgB1doZBaGyolfOQXSTyzMsSVFKPCg+PrAlADVMmF3/awpN7Bb56uHCzq NMIkCErduPdPvTxCBLWN5YIidqIimNVm+R5Wo0Ls+FOC9U/ryMxiXzzTU/leaEnC/xbV Wk1TAO8Pt4XsIdsOpKb0qc6Kx5fOnMnkwsBSng9S/AnPlRo1cS2fLLsNZ1qthf+YJWax visA== 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=ZDlJcgftSNtVKrRpt0DCTkID9PULDnOWhUBc/jbkM1U=; fh=BRJhtpG+YMtbFPXN56knBnOIgkSrG/IxSIfcdjH6G3Y=; b=MOGUfyigicYEWShGecrBCLJP0eDmpW3dtSF+kOhePT28Ncwi2g2I5FVLGXYlcLvrRW oGHORGqVHfEuPbFXbLRclIMnhupzQDteS3f4cvyUpmDm6nIXg0JJsKmBG57ygtyQrivb r38HDEkrG5zlYR4NPXdbOLXoERW50XsKZB9CTzdO1C5WdIabFDy8x3e57WYrNXgXvOy+ 7u10AD+3rpf1SE6LWMbatBMPlqCQf+pWTl6yFT5dbO2sGmJ9c99OqS+zW4ZWVj2xwZ5/ T5PLkHFVOB1fcZQ3q2T10cTOtd8JmmGGw1V3hL11NMbx+rTpciuwRxQJalsvr8l7kuST zjmA== 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 h83-20020a25d056000000b00dbdaeed38d7si129755ybg.3.2024.01.05.03.16.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jan 2024 03:16:19 -0800 (PST) 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-CSE-ConnectionGUID: 8pw1YsqQSeqxJwVWY3iGgA== X-CSE-MsgGUID: hwVy63/eSnKfEZr8yOir7g== X-IronPort-AV: E=Sophos;i="6.04,333,1695715200"; d="scan'208";a="30627531" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 05 Jan 2024 03:16:18 -0800 IronPort-SDR: J9tv2JQuniEzwkQt3CdmM53oDMcalZJ4BieH9szfnUlfkYOTyofSEn7I0RGbTmWgy5D7J54izd uqlq1YiMbR/DFfA+zNq0Blx17xvui2jbhFJWWnhw10eOxs3dOdIDjix3o7cOnnUBWU4AJ+wnnb CvHOy727Jyzc4xP0M4alNnXvGjq/++oqdjYPdfFLiEdVBloPPSnd4g78UqFOFFW605uWG/LESw b3O3qg+05v4NjP4oVgbtzAmWjxwOdyVKejssZSxqWxQIduaVBfvXbXhkv9tABVI9IyuNJYM1Gw Nok= From: Srinuvasan Arjunan To: CC: , Srinuvasan Subject: [PATCH] classes/image-tools-extension.bbclass: remove prepare isar-apt part Date: Fri, 5 Jan 2024 16:45:52 +0530 Message-ID: <20240105111552.664182-1-srinuvasan_a@mentor.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-13.mgc.mentorg.com (147.34.90.213) 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.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 Now isar-apt configured during sbuildchroot generation, hence remove the prepare isar-apt part from the imager_run method. This changes depends on [1] [1]: https://groups.google.com/g/isar-users/c/k8ZNw3OkWLw Signed-off-by: Srinuvasan --- meta/classes/image-tools-extension.bbclass | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/meta/classes/image-tools-extension.bbclass b/meta/classes/image-tools-extension.bbclass index 58799fcf..46bdf78b 100644 --- a/meta/classes/image-tools-extension.bbclass +++ b/meta/classes/image-tools-extension.bbclass @@ -44,19 +44,6 @@ imager_run() { distro="${HOST_BASE_DISTRO}-${BASE_DISTRO_CODENAME}" fi - # prepare isar-apt - schroot -r -c ${session_id} -d / -u root -- sh -c " \ - mkdir -p '/etc/apt/sources.list.d' - echo 'deb [trusted=yes] file:///isar-apt ${DEBDISTRONAME} main' > \ - '/etc/apt/sources.list.d/isar-apt.list' - - mkdir -p '/etc/apt/preferences.d' - cat << EOF > '/etc/apt/preferences.d/isar-apt' -Package: * -Pin: release n=${DEBDISTRONAME} -Pin-Priority: 1000 -EOF" - E="${@ isar_export_proxies(d)}" deb_dl_dir_import ${schroot_dir} ${distro} schroot -r -c ${session_id} -d / -u root -- sh -c " \