]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: add a stub implementation of package_name_hook
authorRoss Burton <ross.burton@intel.com>
Tue, 1 Jul 2014 15:56:53 +0000 (16:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:37:39 +0000 (17:37 +0100)
commitf6eb8e4e44b66217e4ada9f830a058c5ba120932
treea1af34d8fac5a13c60d3f1824b4d651a8f3f2dd3
parent869a5c07f0ecc21b8cfbd239e901a9a4501ef087
package.bbclass: add a stub implementation of package_name_hook

do_package() calls package_name_hook so that e.g. debian-style renaming through
debian.bbclass can happen.  If there is no class providing a package_name_hook
then this causes "WARNING: Function package_name_hook doesn't exist" every time
do_package() is executed.

Silence this warning by providing an empty package_name_hook in package.bbclass.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/package.bbclass