From patchwork Tue Jan 10 11:50:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: roberto.foglietta@linuxteam.org X-Patchwork-Id: 2440 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 10 Jan 2023 12:50:31 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-io1-f55.google.com (mail-io1-f55.google.com [209.85.166.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 30ABoUAO009539 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 12:50:31 +0100 Received: by mail-io1-f55.google.com with SMTP id y24-20020a5ec818000000b006e2c0847835sf6735018iol.12; Tue, 10 Jan 2023 03:50:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673351425; cv=pass; d=google.com; s=arc-20160816; b=0imdcAlTdeDvOJFCV3Jp+Iir9XsmL5/DWD//lPEFd6panVePe5w7EKKSycXNSPrtjP IuTE+82DLtLfO3hHelPohqVC/kKF5uUVsHN/2vylKbJLXLaWmSG3iJqT6dfPrqw4ObS8 2lz5olMo4pJyVzxmkl9MYNOo7QQ9+3gEA4yW+h4XWPG3TWbXzd7yaAsuQ+qzes7asVNf ox49WMg8beHN/tB7HsdCwbSjojmDe7WGkr0jGCprlPFXoqRkpSjGZctpMleKsZQWE1It 23PW9wl2Gea4gB3zFxXC73DWMsV+MSXM/+h1CCT09Q5CxT4QOf0QfUv9XFZWGCTKZvu6 W4Xw== 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:sender:dkim-signature; bh=ADFJNV/xE+JNzWhJtmxpogOYqABvjMPFTC5MsJVu61A=; b=bnEJxwJvxqCvwwkTZQU70KniguGNssqVbjoVBjekpV7D8u8+MeAB7PGqdSVw/hpUJl Gqov3mpvA1+dH1y75bDGVbY6CTSBXpbgh+JORXE3ArIb72kY64r7X67KyOapveasAJKC 0ph/O//AULrX2pByInZdfkT1pAZ0+2oVA5GfteRqfJpUt8ZZHjivIupriDxac35++8tN iqPyhHTDuqIDuGT3KuaWBLjpA7rpOTE2k2a2ZGCDeSPZ7Mt2gvl8jMErj7HzTwG8pE03 3JsPsSX/fS1CsJK2rwrUoNLsVb1FdSMNJHkCGPDXeF+HYgx2ioAltGtop+FxdQR0HAGq lTXw== ARC-Authentication-Results: i=2; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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 :sender:from:to:cc:subject:date:message-id:reply-to; bh=ADFJNV/xE+JNzWhJtmxpogOYqABvjMPFTC5MsJVu61A=; b=ZgiFvQ2Tvw+9KKDP2d06lyItEjMBgHEn2tgxTML3N/sFVFjpgkmP0EWI012r0hhi/1 wD11bJFXmHrPKFYIItL9ojvrM/gehk/eBQDn8B4dye4x3XVjLXSWxeEMO1PyUGXDGD0x R+TkmsdwlWhOt6mf6El5iix1A88yz8JeP/fnUtBCo8fu1uo8c3SWT0Z+6KFOMgKN5Lee WpSistVE1ON4u9LLRjKEWGecB3cXAH8ryYYBJp6+so74v1Vh444dI8qB5P1ue3/gd27h OZBuNy5CG8PrdHLPqCkZBNjhUmEIdqJYcpX1h3JHwfvnkOmgtvaTsbm3MFIEUwUb+mNp yxuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=ADFJNV/xE+JNzWhJtmxpogOYqABvjMPFTC5MsJVu61A=; b=xMh7Eoah3cIU7Bfbc+Q2uqZU5A/aaFpBR+YqRQyWn4BhwNahVr1XmRWLaXkRAGvc59 /4rf8A4uJqXm4LJU8YI4+rJyQfkrSLNN1wuyOM1nltyEb7LfgHgcD/nqA0ysbLgtrEwc 3eeQCZ2nXsHODHG+XpDwieh/WejoleMFGHKukS9ZF4/AxWtMj+N9LoZy+RKN+fSisvnC ZJZYdNCnMUg4OJdQb8oesatLZy25b15VPUAu4CSqvVlwojH0Jl/Ui2Lpen7SjtN6jYVI epROZL/MpNQpyPU6b+wMZTwlKiu2lYQtnyKCLyE6yVCdGWFhsuldrUm9wE7oXWYF2zag mk8Q== Sender: isar-users@googlegroups.com X-Gm-Message-State: AFqh2kr4ZKWs/iIcVuGqusmyGPStCvgj2JA9BrbTjAG5BGbF1L961kc9 LqevYtzpM2J644RBlDtMVls= X-Google-Smtp-Source: AMrXdXvJAR0eSwEP/znXilu8eiQGwFHNE1Nvd7ij5iklXhl+C/GmDnl8lTeRwv86hmik7axlbofXig== X-Received: by 2002:a05:6638:1211:b0:38a:6cac:16d1 with SMTP id n17-20020a056638121100b0038a6cac16d1mr6602519jas.263.1673351425045; 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-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 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; 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 X-Original-Sender: roberto.foglietta@linuxteam.org X-Original-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 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,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: "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)"