diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-07 23:25:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-07 23:26:14 +0100 |
commit | a8f3ebc4e0ab5caa9c715798d19ac6dbd15d3957 (patch) | |
tree | 485c2b502f8045768c08fac3a920bad1513028ce /meta/lib/oeqa/selftest/context.py | |
parent | 55e36198d24b99c525dfec4981c7d1cb66b62445 (diff) | |
download | poky-a8f3ebc4e0ab5caa9c715798d19ac6dbd15d3957.tar.gz |
Revert "oeqa selftest context.py: fix git commands and set branch name"
We have autobuilder workers which don't have the -b option unfortunately.
This reverts commit 5ec557467dda29309e25102b507bb919275bedbb.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/context.py')
-rw-r--r-- | meta/lib/oeqa/selftest/context.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py index bc3915a3aa..bd03e765b0 100644 --- a/meta/lib/oeqa/selftest/context.py +++ b/meta/lib/oeqa/selftest/context.py | |||
@@ -104,7 +104,7 @@ class OESelftestTestContext(OETestContext): | |||
104 | oe.path.copytree(builddir + "/cache", newbuilddir + "/cache") | 104 | oe.path.copytree(builddir + "/cache", newbuilddir + "/cache") |
105 | oe.path.copytree(selftestdir, newselftestdir) | 105 | oe.path.copytree(selftestdir, newselftestdir) |
106 | 106 | ||
107 | subprocess.check_output("git init -b main && git add * && git commit -a -m 'initial'", cwd=newselftestdir, shell=True) | 107 | subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True) |
108 | 108 | ||
109 | # Tried to used bitbake-layers add/remove but it requires recipe parsing and hence is too slow | 109 | # Tried to used bitbake-layers add/remove but it requires recipe parsing and hence is too slow |
110 | subprocess.check_output("sed %s/conf/bblayers.conf -i -e 's#%s#%s#g'" % (newbuilddir, selftestdir, newselftestdir), cwd=newbuilddir, shell=True) | 110 | subprocess.check_output("sed %s/conf/bblayers.conf -i -e 's#%s#%s#g'" % (newbuilddir, selftestdir, newselftestdir), cwd=newbuilddir, shell=True) |