]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/selftest/devtool: Correct git clone of local repository
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 6 Dec 2023 20:55:23 +0000 (21:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Dec 2023 16:58:28 +0000 (16:58 +0000)
commit8e3d08cb9274832a346ac3dffa8c9d5f6e93c478
tree6c120510a0cc8bfeae528b449727e9a646e6246d
parent8515842b5c503b9a8840675d9cbcfe147d25c1d4
oeqa/selftest/devtool: Correct git clone of local repository

If the build environment is setup using `repo`, then poky/.git/object
is a symbolic link rather than a directory. To clone such repositories,
the source path must be prefixed with "file://". This avoids the
following error:

  fatal: failed to start iterator over '.../poky/.git/objects': Not a directory

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/devtool.py