From patchwork Sat Jan 29 02:26:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Kjellerstedt X-Patchwork-Id: 3081 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87BABC433F5 for ; Sat, 29 Jan 2022 02:26:08 +0000 (UTC) Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by mx.groups.io with SMTP id smtpd.web10.1492.1643423166494245554 for ; Fri, 28 Jan 2022 18:26:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@axis.com header.s=axis-central1 header.b=X7csu0Et; spf=pass (domain: axis.com, ip: 195.60.68.18, mailfrom: peter.kjellerstedt@axis.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1643423167; x=1674959167; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=ihQttyuc1khJM7nv8DS5pPVs6lvkOY/BaE6JHw0scuI=; b=X7csu0EtDaOjWK4gaWfIKiZVlnUxkMELHMPjkc4JmzgeLwWPlToO8VF0 VMmoGB4jXT/nXBouDn8xR5SecD8xHhNEfeMNEHyttCu8CyDv/UdY5999r VJh4novJVXd7DPZP7TGtD6C3+epLsL5VDKl/guhB8IPQpfqa07D1MjtoV iPaTELmEzYt9eR09cywSXhxoJNl+b+FaegooRI3Nmjpbyf7kTpFc4nAMO +z1wpAI2sQecSTnFlT5Ommqlr2xvNnwwgd6lJI2OVfTB6EV7WcvVl/xU1 3slzaBhQPRR/adWIM/+DCudy5fonLhVsZTNKUTS4+jrE2MtMD3kZes1ja A==; From: Peter Kjellerstedt To: Subject: [PATCH 1/2] manuals: Remove unnecessary \n from SSTATE_MIRRORS examples Date: Sat, 29 Jan 2022 03:26:01 +0100 Message-ID: <20220129022602.17304-1-pkj@axis.com> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 29 Jan 2022 02:26:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2452 Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror entries) there is no need to separate the entries in SSTATE_MIRRORS with "\n". Signed-off-by: Peter Kjellerstedt --- documentation/overview-manual/concepts.rst | 2 +- documentation/ref-manual/variables.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 5698d93759..a6bd32a987 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst @@ -1904,7 +1904,7 @@ Behind the scenes, the shared state code works by looking in shared state files. Here is an example:: SSTATE_MIRRORS ?= "\ - file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ + file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \ file://.* file:///some/local/dir/sstate/PATH" .. note:: diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index b0621168ae..456d9ce098 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7198,7 +7198,7 @@ system and gives an overview of their function and contents. following maps the local search path ``universal-4.9`` to the server-provided path server_url_sstate_path:: - SSTATE_MIRRORS ?= "file://universal-4.9/(.*) http://server_url_sstate_path/universal-4.8/\1 \n" + SSTATE_MIRRORS ?= "file://universal-4.9/(.*) http://server_url_sstate_path/universal-4.8/\1" If a mirror uses the same structure as :term:`SSTATE_DIR`, you need to add "PATH" at the @@ -7207,7 +7207,7 @@ system and gives an overview of their function and contents. :: SSTATE_MIRRORS ?= "\ - file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ + file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \ file://.* file:///some-local-dir/sstate/PATH" :term:`SSTATE_SCAN_FILES` From patchwork Sat Jan 29 02:26:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Kjellerstedt X-Patchwork-Id: 3082 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85B7FC433EF for ; Sat, 29 Jan 2022 02:26:08 +0000 (UTC) Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by mx.groups.io with SMTP id smtpd.web12.1455.1643423167222695396 for ; Fri, 28 Jan 2022 18:26:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@axis.com header.s=axis-central1 header.b=YE75qt/8; spf=pass (domain: axis.com, ip: 195.60.68.17, mailfrom: peter.kjellerstedt@axis.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1643423167; x=1674959167; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=d/ZizH278t4uBstiEczyAhjdFndcFHxa3SSQ0a8riRQ=; b=YE75qt/84mgK8ocaeo2WmtRlahGiZOqPAmOYnrtZfGPcbLnHQ/yjlhGb LnUB2irwPUEIjs4uIcQ5wfnpp5Eb3GXcCG38uNKn6ReuocJdhKme/lioV IYg5pz/U0hCj/rhf3L130iBSfW8x2h/9xfMTrst3hRUeJ+H0lGpUf8yBG wognP1zF3iI/Kr7qUscbhFO+41Ym8WNiOPK96kiy8GbeJqyhfh+Q24sgS Jg968ab9XJw+mwRd5d1IrOaiQx8N2Pt0SqomF9NQDfEAtGSGt01wu2kDN Aa7fqAciNdi0ZjRO7KYlPz7UlCbbkAifT7H0ZkHlUaBJ3G0xlWvAzhEUv g==; From: Peter Kjellerstedt To: Subject: [PATCH 2/2] test-manual: Correct two references to BB_SKIP_NETTESTS Date: Sat, 29 Jan 2022 03:26:02 +0100 Message-ID: <20220129022602.17304-2-pkj@axis.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20220129022602.17304-1-pkj@axis.com> References: <20220129022602.17304-1-pkj@axis.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 29 Jan 2022 02:26:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2453 The environment variable used to disable network tests when running bitbake-selftest was incorrectly referred to as BB_SKIP_NETTEST. Signed-off-by: Peter Kjellerstedt Reviewed-by: Quentin Schulz Reviewed-by: Michael Opdenacker --- documentation/test-manual/intro.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/test-manual/intro.rst b/documentation/test-manual/intro.rst index 4a3a97e29a..9c1a93cd40 100644 --- a/documentation/test-manual/intro.rst +++ b/documentation/test-manual/intro.rst @@ -178,10 +178,10 @@ Tests map into the codebase as follows: $ bitbake-selftest - To skip tests that access the Internet, use the ``BB_SKIP_NETTEST`` + To skip tests that access the Internet, use the ``BB_SKIP_NETTESTS`` variable when running "bitbake-selftest" as follows:: - $ BB_SKIP_NETTEST=yes bitbake-selftest + $ BB_SKIP_NETTESTS=yes bitbake-selftest The default output is quiet and just prints a summary of what was run. To see more information, there is a verbose option::