From 57f6f2ba8020633a8bc35e9ff5facbbab75fe6d6 Mon Sep 17 00:00:00 2001 From: Matthew Lear Date: Tue, 4 Nov 2025 12:36:36 +0000 Subject: [PATCH 1/4] build: New util for verified file fetch and cache support vfetch added to perform metadata-backed file get+verify operations, storing the asset in a cache directory where it can be retrieved transparently on subsequent invocations. Add new global IG top level cache dir keyed off workroot. --- bin/vfetch | 159 +++++++++++++++++++++++++++++++++ layer/base/sys-build-base.yaml | 22 +++-- 2 files changed, 173 insertions(+), 8 deletions(-) create mode 100755 bin/vfetch diff --git a/bin/vfetch b/bin/vfetch new file mode 100755 index 00000000..442a026b --- /dev/null +++ b/bin/vfetch @@ -0,0 +1,159 @@ +#!/usr/bin/env bash + +set -euo pipefail + +# File fetch with verification and cache support +# Usage: +# [IGconf_sys_cachedir=/path/to/cache]