From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7186869599348981760 X-Received: by 2002:a63:230d:0:b0:498:8fdd:bf42 with SMTP id j13-20020a63230d000000b004988fddbf42mr3860046pgj.125.1673323474075; Mon, 09 Jan 2023 20:04:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:e352:b0:186:af8a:6095 with SMTP id p18-20020a170902e35200b00186af8a6095ls7172796plc.4.-pod-prod-gmail; Mon, 09 Jan 2023 20:04:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXs1J27bSLG3FRuQ0MHzmNPGjy6jhJTGeVmt7IiwXTfyq4f0e4EpvxTHv6H9ma5/YXWnX1Rr X-Received: by 2002:a17:90b:3c09:b0:226:cd54:874a with SMTP id pb9-20020a17090b3c0900b00226cd54874amr16739979pjb.8.1673323473025; Mon, 09 Jan 2023 20:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673323473; cv=none; d=google.com; s=arc-20160816; b=qCjum0p/VGMJvw8QeuKczWF+tN6wTgZO5L8B3G//GkTg5Ua6aDYqMohktw8d0BRAqQ KqVu0h2JgYcsQF1DHPT/R1UoKAQPJDffJINPf2CiPP37ejHn8p3m7IiVVujUYxC+9Gfe zh+U+d8Kb3MbtsLnWHbqs89w1GX5ZHfeI+PJgjCWwm3xrY5cea0m+3XJnffTzBJgb4mk wh955/AW4+gW3u9aUrAwRYyFX9sIsSMF/38LWQA36xA1WL3/5Wx6pK4FNvpMxGufLM6Z NaaYfYHy5YGAr03+PX/rmhvZlCSS9rESeXNlhInH6+O/zzvmLrCvL2FtFfTI43serKGD V6sQ== 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; bh=S34dmHT9OI6qFS3mR/SHUWinbxV/ba2YKyZf/rfDBh0=; b=ZCzS2f9e1ahlvKdCjntK+X9wb50Vsp2eq+jcWMfztd1fehUHRNUlZZ8YdEDzmE88yE 3kac9FEvrAcqFOK8+zaEmr0sA2b11TnTChqi2DHv3O08N7TPwFlgKFbLoCor0qXnD8uL HwfKRBoiS3W/S8LowkQH4C+gohoE7pw2n2cD3by3c8q2kNwJ8wTIZEeIPGnf0ZWO1NVA eU28PTIrOBMSiPpZmG+sO+9IT/WC6vMsryrsV69oqDmmK8Im6/hGtMUW+JNDxs/M27DB YDjI67AvWikb9CYPpxmWibRgPB+5xs+Fj4hNEz+gx1w5b0D9aivaHcLEQCxITPf2pD9t g1bA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::170 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Return-Path: Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it. [2001:4b7a:2000:18::170]) by gmr-mx.google.com with ESMTPS id w10-20020a17090abc0a00b0022673858f16si38399pjr.1.2023.01.09.20.04.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 20:04:32 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::170 as permitted sender) client-ip=2001:4b7a:2000:18::170; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::170 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Received: from localhost.localdomain (unknown [IPv6:2a02:8071:3187:7b80:2373:f2dd:a867:c892]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id 5A5A41F94C; Tue, 10 Jan 2023 05:04:30 +0100 (CET) From: roberto.foglietta@linuxteam.org To: isar-users@googlegroups.com Cc: roberto.foglietta@gmail.com Subject: [PATCH v2] dpkg: schroot migration then buildchroot references removed, v2 Date: Tue, 10 Jan 2023 05:04:27 +0100 Message-Id: <20230110040427.1177958-1-roberto.foglietta@linuxteam.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: fCYW8tj2bJJ+ From: "Roberto A. Foglietta" dpkg, adding feature: migration to schroot The patchset v.2 by Anton Mikanovich to migrate buildchroot to schroot is not complete because the buildchroot is still used by the dpkg base class which can be freed by buildchroot with this patch which applies on the top of these four: * events: Cleanup lost schroot sessions if any, v2 * imager: Move image types to schroot, v2 * imager: Migrate from buildchroot to schroot, v2 * sbuild: Allow setting custom config paths, v2 v2: remove the lines instead of commenting them, better description Signed-off-by: Roberto A. Foglietta --- meta/classes/dpkg-base.bbclass | 6 ------ 1 file changed, 6 deletions(-) diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass index 260aa73..ce150b3 100644 --- a/meta/classes/dpkg-base.bbclass +++ b/meta/classes/dpkg-base.bbclass @@ -5,7 +5,6 @@ # SPDX-License-Identifier: MIT inherit sbuild -inherit buildchroot inherit debianize inherit terminal inherit repository @@ -123,9 +122,6 @@ do_apt_fetch() { addtask apt_fetch do_apt_fetch[lockfiles] += "${REPO_ISAR_DIR}/isar.lock" -# Add dependency from the correct buildchroot: host or target -do_apt_fetch[depends] += "${BUILDCHROOT_DEP}" - # Add dependency from the correct schroot: host or target do_apt_fetch[depends] += "${SCHROOT_DEP}" @@ -193,8 +189,6 @@ BUILDROOT = "${BUILDCHROOT_DIR}/${PP}" dpkg_do_mounts() { mkdir -p ${BUILDROOT} sudo mount --bind ${WORKDIR} ${BUILDROOT} - - buildchroot_do_mounts } dpkg_undo_mounts() { -- 2.34.1