poky/scripts/lib/recipetool
Paul Eggleton ea01bd31c3 devtool: fix devtool upgrade with reproducible_builds class
If the reproducible_build class is inherited then there may be a
"source-date-epoch" subdirectory in a fetched source tree; devtool
upgrade was not expecting that in the upgraded source. Take a small
snippet of code from recipetool create which already handles this,
and make it a shared function that can be used in both places.

Additionally, fix an assumption that the source is always in a
subdirectory in the cleanup code that blocked debugging this.

[YOCTO #13635]

(From OE-Core rev: 0d642861cd9cf034b8d4951433980addc215d4fd)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-21 23:08:20 +00:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_buildsys_python.py recipetool: ignore zero-length setup.py files 2019-07-03 17:00:57 +01:00
create_buildsys.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_kernel.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_kmod.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_npm.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create.py devtool: fix devtool upgrade with reproducible_builds class 2019-11-21 23:08:20 +00:00
edit.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
newappend.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
setvar.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00