]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-yocto: fix checkout bare-cloned kernel repositories
authorJianxun Zhang <jianxun.zhang@linux.intel.com>
Tue, 8 Dec 2015 18:58:43 +0000 (10:58 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Dec 2015 09:25:16 +0000 (09:25 +0000)
commit4487e3a4205188cf53930147c7e88d98f0d8a8e0
treed3a093a23b23dd0ea93a3997c64f022cb13af3a2
parent51619440e24f4e10102f0910b88532a951d8210f
kernel-yocto: fix checkout bare-cloned kernel repositories

The existing code doesn't tell regular (with .git) and bare cases and
just move the unpacked repo to the place of kernel source. But later
steps will fail on a bare-cloned repo because we can not checkout
directly in a bare cloned repo.

This change performs another clone to fix the issue.

Note: This change doesn't cover the case that S and WORKDIR are same
and the repo is bare cloned.

(From OE-Core rev: ccfa2ee5c4f509de4c18a7054b2a66fc874d5d69)

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass