From 9e08c14bd8869a9d754feeeee344461f60d2b6ff Mon Sep 17 00:00:00 2001 From: Caio Pereira Date: Fri, 14 Nov 2025 16:18:17 +0100 Subject: [PATCH] ug: custom-ci: Fix the method to grab ostree hash The command cat ./deploy/images/intel-corei7-64/ostree_repo/refs/heads/ Returns the 64-characters SHA256 checksum required to use with fioctl targets add command. The command find ./deploy/images/intel-corei7-64/ostree_repo -name *.commit provides the entire metadata + 64 characters SHA256. When this value is used in the fioctl targets add command , it causes ERROR: Illegal base64 data at input byte 60. Signed-off-by: Caio Pereira --- source/user-guide/custom-ci/custom-ci-for-rootfs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/user-guide/custom-ci/custom-ci-for-rootfs.rst b/source/user-guide/custom-ci/custom-ci-for-rootfs.rst index a66ed336..4820016a 100644 --- a/source/user-guide/custom-ci/custom-ci-for-rootfs.rst +++ b/source/user-guide/custom-ci/custom-ci-for-rootfs.rst @@ -66,7 +66,7 @@ Add OSTree Target Once the ostree repo carrying rootfs is pushed to the cloud, you can add a new Target referencing it. The rootfs committed to the ostree repo is referenced by the commit hash. -To obtain, run ``find ./deploy/images/intel-corei7-64/ostree_repo -name *.commit`` +To obtain, run ``cat ./deploy/images/intel-corei7-64/ostree_repo/refs/heads/`` or ``ostree --repo ./deploy/images/intel-corei7-64/ostree_repo rev-parse ``. Run ``fioctl targets add`` ato add the new Target referencing the given ostree-based rootfs, e.g.,