From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7186993772934201344 X-Received: by 2002:a25:c842:0:b0:724:2a55:aadb with SMTP id y63-20020a25c842000000b007242a55aadbmr7155940ybf.576.1673352386312; Tue, 10 Jan 2023 04:06:26 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a25:360e:0:b0:798:2357:36e with SMTP id d14-20020a25360e000000b007982357036els5285923yba.8.-pod-prod-gmail; Tue, 10 Jan 2023 04:06:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXvdBwc7eQMxI6/ll174FAupyk+dWeQ9AkHY7OWhr7xriWEnOMQ5LIzs4l13SP3q4C0S/Lrh X-Received: by 2002:a25:b854:0:b0:7a0:44a4:62bb with SMTP id b20-20020a25b854000000b007a044a462bbmr27806882ybm.26.1673352385408; Tue, 10 Jan 2023 04:06:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673352385; cv=none; d=google.com; s=arc-20160816; b=AkDRL2k+iKv73EvOIA6UHcjzPG4p9irxpJ46Z0Lt4c6cf/GdmaTt9rVMafgd7TJBJG WcA2AiCsgeSx38JuzYiOdsPO+pE7gHPg2XRbFewX42kTWcuXmLGvWnwNw0ejETK8EneC mRrz0Ur+sEDVT42mo+EKJ4YIfclwyUH5Gyf1tAw6RcOGK9YZApBYTiGe8kzGMDZFIMNR pv6Dk96nMzy+oGcW5HTV/5VJhgtPRGJczdKU+qTxab2XgAPgtM+XT8SkcVFJXecmvnkA p/yM6U8TVAuPLCiDzqh6BecuodPm9vhUq9QgjynHF0ZuOi2wcCmvIts8Xt6tQDnXby+r r6ng== 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=r2u7zr9oj1Ux5en60FnHXvsXz10oPy3iZpoEQewE6R8=; b=HGj2p1JlYPqU0Hdypli3rv1ceWA/O/0QwsC8ZWh932wo/Ru0Ib7DDWWybhQmkHLrfg KW3v0jUMO8MsVKlwirepiQIs7uQM3Vn+UJhNn/JeElz8EZkK9lluy4bFVdtY4KKlSqMZ kKdWGoQQcp3UeagujHV8o7UHwfLrzPXm7vHjZ06u/42At9rT+GNf59ciViORONMB3+aT D59XeX+YV8sf7+6Wt+w8G8p1vqMtiWDAZozFp4W/+KeUOv6EClGoq3C85NZVzk16Wg8d r6Y/D9wTHTe2pHCD5FZ4rZgtNcfNdtkaQiEZv+1IIMe8bD0myGgV2QFvxhlPGIDmjTKF u8cg== 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 c2-20020a25b442000000b007b62d9cf791si1174846ybg.2.2023.01.10.04.06.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 04:06:25 -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 7F8F91FED3; Tue, 10 Jan 2023 13:06:23 +0100 (CET) From: roberto.foglietta@linuxteam.org To: isar-users@googlegroups.com Cc: roberto.foglietta@gmail.com Subject: [PATCH v2] bootstrap.inc install sources-list then wrongly remove it, bugfix v2 Date: Tue, 10 Jan 2023 13:06:15 +0100 Message-Id: <20230110120615.1235651-1-roberto.foglietta@linuxteam.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: duFNHkKe5vbO From: "Roberto A. Foglietta" bootstrap.inc, bugfix: two lines were in reverse order between them v.2: removed a deleting line that does not belong to this patch Signed-off-by: Roberto A. Foglietta --- meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc index faba73f..8bc4704 100644 --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc @@ -327,9 +327,10 @@ 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