generic-poky/scripts/lib/recipetool
Paul Eggleton 600b7007f6 recipetool: create: don't create extra files directory unconditionally
The extra directory next to the recipe should only be created if there
are files to put into it; currently only the npm plugin does this. I
didn't notice the issue earlier because the test was actually able to
succeed under these circumstances if the recipe file came first in the
directory listing, which was a fault in my original oe-selftest test;
apparently on some YP autobuilder machines the order came out reversed.

With this change we can put the oe-selftest test that highlighted the
issue back to the way it was, with an extra check to reinforce that only
a single file should be created.

(From OE-Core rev: b8b778345eb0997c2cd952a1f61fdd2050b6b894)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:25 +00:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py recipetool: make plugin registration function name consistent with devtool 2015-12-01 21:32:05 +00:00
create.py recipetool: create: don't create extra files directory unconditionally 2016-03-20 23:12:25 +00:00
create_buildsys.py recipetool: create: improve mapping for autotools program macros 2016-03-09 17:00:29 +00:00
create_buildsys_python.py recipetool: create: add additional extension mechanisms 2016-02-21 09:32:43 +00:00
create_kernel.py recipetool: create: add basic support for generating linux kernel recipes 2016-03-02 23:08:51 +00:00
create_kmod.py recipetool: create: add support for out-of-tree kernel modules 2016-03-02 23:08:51 +00:00
create_npm.py recipetool: create: shrinkwrap and lockdown npm modules 2016-03-09 17:00:29 +00:00
newappend.py devtool / recipetool: use common code for launching editor 2016-02-21 09:32:42 +00:00
setvar.py recipetool: make plugin registration function name consistent with devtool 2015-12-01 21:32:05 +00:00