From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas De Schampheleire Date: Mon, 4 May 2020 13:15:49 +0200 Subject: [Buildroot] [PATCH 0/2] Add utils/source-check Message-ID: <20200504111551.15920-1-patrickdepinguin@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: Thomas De Schampheleire Hello, Buildroot used to have a 'make source-check' command, which was later removed. Nevertheless, for organizations that use a download mirror and want to efficiently check that all needed files are present without actually downloading, an equivalent is still useful. After the addition of the 'show-info' target, this is now possible without polluting the core Buildroot infrastructure. The script is a 'utility', it is not used automatically, just present for the benefit of users. Note: as mentioned in the commit msg, the current script only covers scp and hg downloads, my needs. It could be extended to cover git etc., but it may not be possible to check remotely if a git revision exists on a repository. So for these additional download methods, it may be needed to perform an actual clone? Patch 1 adds BR2_PRIMARY_SITE_ONLY_EXTENDED_DOMAINS and is useful independently from source-check. It addresses the problem where BR2_PRIMARY_SITE_ONLY cannot be used if you also have packages under version control. Patch 2 adds the source-check script. Best regards, Thomas Thomas De Schampheleire (2): core: add BR2_PRIMARY_SITE_ONLY_EXTENDED_DOMAINS utils/source-check: new script Config.in | 11 +++ package/pkg-download.mk | 8 +- utils/source-check | 170 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 188 insertions(+), 1 deletion(-) create mode 100755 utils/source-check -- 2.26.2