[ostree] osbuild: Don't use linux-user-chroot for git submodules
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] osbuild: Don't use linux-user-chroot for git submodules
- Date: Wed, 22 Feb 2012 16:52:53 +0000 (UTC)
commit 9939f1861d0a2b0fd6b5b2f91f56ac9570613b1f
Author: Colin Walters <walters verbum org>
Date: Wed Feb 22 11:51:18 2012 -0500
osbuild: Don't use linux-user-chroot for git submodules
On the ostree.gnome.org build server, LDAP is used for username
lookups, and git aborts if it can't look up the user.
src/ostbuild/pyostbuild/vcs.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/vcs.py b/src/ostbuild/pyostbuild/vcs.py
index adf947a..cbb6b0e 100755
--- a/src/ostbuild/pyostbuild/vcs.py
+++ b/src/ostbuild/pyostbuild/vcs.py
@@ -63,9 +63,7 @@ def get_vcs_checkout(mirrordir, keytype, uri, dest, branch, overwrite=True):
run_sync(['git', 'submodule', 'init'], cwd=tmp_dest)
have_submodules = _fixup_submodule_references(mirrordir, tmp_dest)
if have_submodules:
- run_sync(['linux-user-chroot',
- '--unshare-net', '--chdir', tmp_dest, '/',
- '/usr/bin/git', 'submodule', 'update'])
+ run_sync(['git', 'submodule', 'update'])
os.rename(tmp_dest, dest)
return dest
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]