[gnome-ostree] build: Remove shadow-repo references for now



commit 58666f625f2a84424312e75bda2ff8c73394a801
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 1 09:32:22 2012 -0400

    build: Remove shadow-repo references for now
    
    The "shadow repo" stuff was an attempt to allow referencing binaries
    downloaded when doing a build, but it's bitrotted significantly.
    Let's just remove the last vestiges of it, and return to readd the
    feature later.

 src/ostbuild/pyostbuild/builtin_deploy_qemu.py |    4 ++--
 src/ostbuild/pyostbuild/builtin_deploy_root.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_deploy_qemu.py b/src/ostbuild/pyostbuild/builtin_deploy_qemu.py
index f06b669..ae37057 100755
--- a/src/ostbuild/pyostbuild/builtin_deploy_qemu.py
+++ b/src/ostbuild/pyostbuild/builtin_deploy_qemu.py
@@ -57,8 +57,8 @@ class OstbuildDeployQemu(builtins.Builtin):
                     targets.append(name)
         
         helper = privileged_subproc.PrivilegedSubprocess()
-        shadow_path = os.path.join(self.workdir, 'shadow-repo')
-        child_args = ['ostbuild', 'privhelper-deploy-qemu', shadow_path]
+        work_repo = os.path.join(self.workdir, 'repo')
+        child_args = ['ostbuild', 'privhelper-deploy-qemu', work_repo]
         child_args.extend(targets)
         helper.spawn_sync(child_args)
         
diff --git a/src/ostbuild/pyostbuild/builtin_deploy_root.py b/src/ostbuild/pyostbuild/builtin_deploy_root.py
index f56d8f8..c101f09 100755
--- a/src/ostbuild/pyostbuild/builtin_deploy_root.py
+++ b/src/ostbuild/pyostbuild/builtin_deploy_root.py
@@ -58,9 +58,9 @@ class OstbuildDeployRoot(builtins.Builtin):
 
         helper = privileged_subproc.PrivilegedSubprocess()
         sys_repo = os.path.join(self.ostree_dir, 'repo')
-        shadow_path = os.path.join(self.workdir, 'shadow-repo')
+        work_repo = os.path.join(self.workdir, 'repo')
         child_args = ['ostree', '--repo=' + sys_repo,
-                      'pull-local', shadow_path]
+                      'pull-local', work_repo]
         child_args.extend(['trees/' + x for x in targets])
         helper.spawn_sync(child_args)
         



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]