diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 4d06a57198..b3eb8248d0 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -464,7 +464,7 @@ class Git(FetchMethod): | |||
464 | with create_atomic(ud.fullmirror) as tfile: | 464 | with create_atomic(ud.fullmirror) as tfile: |
465 | mtime = runfetchcmd("git log --all -1 --format=%cD", d, | 465 | mtime = runfetchcmd("git log --all -1 --format=%cD", d, |
466 | quiet=True, workdir=ud.clonedir) | 466 | quiet=True, workdir=ud.clonedir) |
467 | runfetchcmd("tar -czf %s --owner pokybuild --group users --mtime \"%s\" ." | 467 | runfetchcmd("tar -czf %s --owner oe:0 --group oe:0 --mtime \"%s\" ." |
468 | % (tfile, mtime), d, workdir=ud.clonedir) | 468 | % (tfile, mtime), d, workdir=ud.clonedir) |
469 | runfetchcmd("touch %s.done" % ud.fullmirror, d) | 469 | runfetchcmd("touch %s.done" % ud.fullmirror, d) |
470 | 470 | ||
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 233ecae737..1152e89c0d 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -653,8 +653,10 @@ class CleanTarballTest(FetcherTest): | |||
653 | archive = tarfile.open(os.path.join(self.dldir, self.recipe_tarball)) | 653 | archive = tarfile.open(os.path.join(self.dldir, self.recipe_tarball)) |
654 | self.assertNotEqual(len(archive.members), 0) | 654 | self.assertNotEqual(len(archive.members), 0) |
655 | for member in archive.members: | 655 | for member in archive.members: |
656 | self.assertEqual(member.uname, 'pokybuild') | 656 | self.assertEqual(member.uname, 'oe') |
657 | self.assertEqual(member.gname, 'users') | 657 | self.assertEqual(member.uid, 0) |
658 | self.assertEqual(member.gname, 'oe') | ||
659 | self.assertEqual(member.gid, 0) | ||
658 | self.assertEqual(member.mtime, mtime) | 660 | self.assertEqual(member.mtime, mtime) |
659 | 661 | ||
660 | 662 | ||