diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-08-31 01:18:24 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 14:35:41 +0100 |
| commit | 92c1ece6c347030d48995a36f4c67861356e59d3 (patch) | |
| tree | 85f205d15262cd891e789849fd52de65acd4b65e /scripts/lib/wic/3rdparty/pykickstart/constants.py | |
| parent | 61c15c03b410f645a07a1095e1a5726324d69dd1 (diff) | |
| download | poky-92c1ece6c347030d48995a36f4c67861356e59d3.tar.gz | |
kernel-yocto: replace --is-ancestor with basic git porcelain commands
--is-ancestor is a relatively new git option [commit 5907cda1, Aug 30 2012].
To support build machines with older versions of git installed, we can use
the basic porcelain commands to acheive the same check.
merge-base: "--is-ancestor A B" can be replaced with:
if test "$(git rev-parse --verify A)" = "$(git merge-base A B)"
(From OE-Core rev: 2ddfffe52720d1df70b04131eac553776da7bc73)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/3rdparty/pykickstart/constants.py')
0 files changed, 0 insertions, 0 deletions
