From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7186989645192757248 X-Received: by 2002:a05:6638:36e9:b0:39e:990c:eba2 with SMTP id t41-20020a05663836e900b0039e990ceba2mr237511jau.68.1673351425117; Tue, 10 Jan 2023 03:50:25 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6602:424f:b0:6bc:6044:840e with SMTP id cc15-20020a056602424f00b006bc6044840els1613894iob.0.-pod-prod-gmail; Tue, 10 Jan 2023 03:50:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXvzxCFa8sFutP3dfGLh0rRRlcy09Qn5IgSAKV2IcgmFHW89eNCHTrVjbA/z/wl6WJcSBI0V X-Received: by 2002:a6b:6c19:0:b0:6df:820f:beae with SMTP id a25-20020a6b6c19000000b006df820fbeaemr56109570ioh.18.1673351424689; Tue, 10 Jan 2023 03:50:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673351424; cv=none; d=google.com; s=arc-20160816; b=bWujkGuO5fvFl4RMedoU7JI6kCJaB3Zk7fflGsiDWcRiYb1IABE5QJpGwfmVXdZVx+ 0VIqpyDu29hV6KKat/fRstuBvu051E+MruW6eDLedCEwe8bYe7M6awWBrqSWcj0trVg/ zTcpnh0EclsG23d9Sf3r7MmbEvHn2e8qqu/xgGEQ3n3mvSJ1uaasFXAKHIgG9x83Caig D0iL2dJQj7SbjxPk2cnIdBRGRTTlumXIxob5orgzfvx3wBqJIwJOM9U5K8YkMhC+QpF4 V+pPMNZgSXpt7ULSHuihBNy1LciNf9WFCjqG6McZpPT0qf+EImK7iUUiQEY6w8uLsqiX haOQ== 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=v6bTAYDyB6D2ysToYgSGCbdmYxHrcNSNmH4K0FewH74=; b=goP6qa/r1NjtiR1RKMYnRJsMZkdeW76IdGEGvfgGv82GcbTMrILloFshdefwcP06e+ UcJwa9W7DsdacawZzJDl2coXn2xll7U0thrSm4Hd6UhJ1HXqU4JHQNmbdrKjdGe5ZujW Alk0RAX8/prRWqCKhSyb6ASk88BVdiSkDmuckh9Ee6i/N7TZWiBzohhVGO2bjyJ6jhOK nqO9LQ5s+dPV+1Gmo9xhvCtqxougx6U6vzXXpaN/ISZ2Isw/406QyerlZmGU/M3sSP5/ AaFt3f0qvfpB9xFl9uSOkbkoLWeb8fqAVICoW9BwXzGqk7UnZ9cB3l+bNlawr7a8XI48 GIZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::164 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Return-Path: Received: from relay03.th.seeweb.it (relay03.th.seeweb.it. [2001:4b7a:2000:18::164]) by gmr-mx.google.com with ESMTPS id 3-20020a05660220c300b007045222d9f2si207407ioz.0.2023.01.10.03.50.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 03:50:24 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::164 as permitted sender) client-ip=2001:4b7a:2000:18::164; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::164 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Received: from localhost.localdomain (unknown [IPv6:2a02:8071:3187:7b80:2acc:9e8d:f682:f9c1]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id 1B3AD1F474; Tue, 10 Jan 2023 12:50:23 +0100 (CET) From: roberto.foglietta@linuxteam.org To: isar-users@googlegroups.com Cc: roberto.foglietta@gmail.com Subject: [PATCH] bootstrap.inc install sources-list then wrongly remove it, bugfix Date: Tue, 10 Jan 2023 12:50:20 +0100 Message-Id: <20230110115020.1234724-1-roberto.foglietta@linuxteam.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: Fo/+ps+P+4J7 From: "Roberto A. Foglietta" bootstrap.inc, bugfix: two lines were in reverse order between them Signed-off-by: Roberto A. Foglietta --- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index faba73f..3aa11a4 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -296,6 +296,7 @@ do_bootstrap() { if [ "${BOOTSTRAP_FOR_HOST}" = "0" ]; then arch_param="--arch=${DISTRO_ARCH}" fi + ${DEBOOTSTRAP} $debootstrap_args \ $arch_param \ ${@get_distro_components_argument(d)} \ @@ -327,9 +328,9 @@ do_bootstrap() { install -v -m644 "${APTSRCS}" \ "${ROOTFSDIR}/etc/apt/sources.list.d/bootstrap.list" fi - install -v -m644 "${APTSRCS_INIT}" "${ROOTFSDIR}/etc/apt/sources-list" rm -f "${ROOTFSDIR}/etc/apt/sources.list" - rm -rf "${ROOTFSDIR}/var/lib/apt/lists/"* + install -v -m644 "${APTSRCS_INIT}" "${ROOTFSDIR}/etc/apt/sources-list" + find ${APT_KEYS_DIR}/ -type f | while read keyfile do MY_GPGHOME="$(chroot "${ROOTFSDIR}" mktemp -d /tmp/gpghomeXXXXXXXXXX)" -- 2.34.1