Fix incorrect top-level directory for .ostree_repo_checksum
This commit adjusts the subcloud destination for the
.ostree_repo_checksum file during prestaging. The proper place for the
checksum file is at the same level as the ostree_repo directory, not
inside it.
Test Plan
PASS - Peform subcloud prestaging. Verify that the checksum file is
transferred to /opt/platform-backup/.ostree_repo_checksum rather than
/opt/platform-backup/ostree_repo/.ostree_repo_checksum.
PASS - Install subcloud from prestaged data. Ensure the checksum
is properly found and used, avoiding the ostree fsck.
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/870870 /opendev. org/starlingx/ ansible- playbooks/ commit/ 7c91d70827297ef 7a65352fa0c211c 12383ae2ae
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7c91d70827297ef 7a65352fa0c211c 12383ae2ae
Author: Kyle MacLeod <email address hidden>
Date: Tue Jan 17 15:22:08 2023 -0500
Fix incorrect top-level directory for .ostree_ repo_checksum
This commit adjusts the subcloud destination for the repo_checksum file during prestaging. The proper place for the
.ostree_
checksum file is at the same level as the ostree_repo directory, not
inside it.
Test Plan
PASS - Peform subcloud prestaging. Verify that the checksum file is backup/ .ostree_ repo_checksum rather than platform- backup/ ostree_ repo/.ostree_ repo_checksum.
transferred to /opt/platform-
/opt/
PASS - Install subcloud from prestaged data. Ensure the checksum
is properly found and used, avoiding the ostree fsck.
Closes-Bug: 2003123
Change-Id: I43cfade386c119 99e8930f9c945ad 25de0b61be6
Signed-off-by: Kyle MacLeod <email address hidden>