Remove --mirror for ostree pull

ostree pull with --mirror creates a new ref for the sysroot
ostree which isn't kept up to date by the subsequent
pull operations. This commit removes the --mirror from
ostree pull to avoid this inconsistent behavior.

Test plan:
[PASS] - Verified the --mirror messes the sysroot ostree refs

Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
Change-Id: I798ff7119442a09007692b3bf416e4e96125a8d4
Closes-Bug: 1997491
This commit is contained in:
Jessica Castelino 2022-11-22 21:07:19 +00:00
parent 8e880d7764
commit 66104e1291
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def pull_ostree_from_remote():
Pull from remote ostree to sysroot ostree
"""
cmd = "ostree pull %s --depth=-1 --mirror" % constants.OSTREE_REMOTE
cmd = "ostree pull %s --depth=-1" % constants.OSTREE_REMOTE
try:
subprocess.run(cmd, shell=True, check=True, capture_output=True)