Skip to content

Add utils/source-check

Thomas De Schampheleire buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2core: add BR2_PRIMARY_SITE_ONLY_EXTENDED_DOMAINSConfig.in package/pkg-download.mk+18 -10 replies
2/2utils/source-check: new scriptutils/source-check+170 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] Add utils/source-check

From: Thomas De Schampheleire <[email protected]>

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
Signature · 1 line
2.26.2