]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: package: don't try to initialise tinfoil twice
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 14 Dec 2016 08:49:50 +0000 (21:49 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Dec 2016 12:30:49 +0000 (12:30 +0000)
commit1e29b57e9278f7d62e6357b5893556acdc0d4b9e
treef9ad8c0fcb7f969ba76664cb69e60887d8d965f6
parentaf867199a5df1b0416f1d1b91427c028d4fa2efd
devtool: package: don't try to initialise tinfoil twice

setup_tinfoil() already calls prepare(), we don't need to call it again
ourselves and doing so with tinfoil2 results in "ERROR: Only one copy of
bitbake should be run against a build directory". Calling prepare()
twice should probably still be allowed, so that ought to be fixed
separately, but in the mean time this code is still wrong so fix it
here.

(From OE-Core rev: 38b8a7d4aff096ea0a62f2ddf3fe2de1df591bf5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/package.py