aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2016-07-19 15:42:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-21 07:45:01 +0100
commit9ae6a2830dacb3c335754a6da91bd5cc30546b31 (patch)
treef228388d9065bfa8b6c48be1703708f1571a829d /meta/classes/insane.bbclass
parent96f951af74dd8dcea1372249fb84c2c615a7bba3 (diff)
downloadopenembedded-core-contrib-9ae6a2830dacb3c335754a6da91bd5cc30546b31.tar.gz
openembedded-core-contrib-9ae6a2830dacb3c335754a6da91bd5cc30546b31.tar.bz2
openembedded-core-contrib-9ae6a2830dacb3c335754a6da91bd5cc30546b31.zip
package_manager.py: Avoid installing an empty package list
It is possible in an attempt only install, that everything listed is not available to be installed. This will have the effect of clearing the package list. However, we only check for an empty package list at the beginning of the function. We need to also check before running the install, otherwise we can fail due to 'error: no package(s) given". Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
0 files changed, 0 insertions, 0 deletions