]> code.ossystems Code Review - openembedded-core.git/commit
devtool/standard.py: Update devtool modify to copy source from work-shared if its...
authorSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Wed, 10 Jul 2019 18:27:32 +0000 (11:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Jul 2019 11:17:22 +0000 (12:17 +0100)
commit3c3a9bae296f849dbfe03942282f44036e6fa1fb
tree6e35b2f87d8e72fe296067064e69057a4ea2b97b
parentbbbb985808e5c301cdb7fdb1ff677706e99b4785
devtool/standard.py: Update devtool modify to copy source from work-shared if its already downloaded

In the regular devtool modify flow, the kernel source is fetched by
running do_fetch task. This is an overhead in time and space.

This patch updates modify command to check if the kernel source is
already downloaded. If so, then instead of calling do_fetch, copy the
source from work-shared to devtool workspace by creating hard links
else run the usual devtool modify flow and call do_fetch task.

[YOCTO #10416]

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/lib/devtool/standard.py