Merge "Ignore ownership during ostree patch build"
This commit is contained in:
commit
1b9f78d1bb
|
@ -571,8 +571,14 @@ class PatchBuilder(object):
|
||||||
log.error("Clone dir not found")
|
log.error("Clone dir not found")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
subprocess.call(["rsync", "-rcpgo", "--exclude=/.lock", "--exclude=/config",
|
subprocess.call(["rsync", "-rcpgo",
|
||||||
"--compare-dest", clone_dir, patch_repo_dir + "/", self.delta_dir + "/"])
|
"--exclude=/.lock",
|
||||||
|
"--exclude=/config",
|
||||||
|
"--no-owner",
|
||||||
|
"--compare-dest",
|
||||||
|
clone_dir,
|
||||||
|
patch_repo_dir + "/",
|
||||||
|
self.delta_dir + "/"])
|
||||||
log.info("Delta dir created")
|
log.info("Delta dir created")
|
||||||
|
|
||||||
def __get_commit_checksum(self, commit_id, repo="ostree_repo"):
|
def __get_commit_checksum(self, commit_id, repo="ostree_repo"):
|
||||||
|
|
Loading…
Reference in New Issue