Skip to content

Commit 692648b

Browse files
caiotpereirakprosise
authored andcommitted
ug: custom-ci: Fix the method to grab ostree hash
The command cat ./deploy/images/intel-corei7-64/ostree_repo/refs/heads/<refs> 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 <[email protected]>
1 parent 52923f9 commit 692648b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/user-guide/custom-ci/custom-ci-for-rootfs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Add OSTree Target
6666
Once the ostree repo carrying rootfs is pushed to the cloud, you can add a new Target referencing it.
6767

6868
The rootfs committed to the ostree repo is referenced by the commit hash.
69-
To obtain, run ``find ./deploy/images/intel-corei7-64/ostree_repo -name *.commit``
69+
To obtain, run ``cat ./deploy/images/intel-corei7-64/ostree_repo/refs/heads/<refs>``
7070
or ``ostree --repo ./deploy/images/intel-corei7-64/ostree_repo rev-parse <machine|hardware ID>``.
7171

7272
Run ``fioctl targets add`` ato add the new Target referencing the given ostree-based rootfs, e.g.,

0 commit comments

Comments
 (0)