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:
parent
8e880d7764
commit
66104e1291
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue