sstate: Move debug comment to more logical place

The same log message gets output multiple times in the log which look
confusing and is rather pointless. Move the log message to the correct
level.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
insane.bbclass: Fix incorrect getVar call

On a trace I was a bit puzzled why getVar was making 180 calls to len(d).
This is an expensive operation that should be very rarely called and
certainly not by getVar. In perl's do_package it was resulting in
~1.5 million function calls from those 180 cases.

Ultimately this typo was why. Lets fix it and save the CPU cyles.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
directfb: Explictly disable mesa

Without this, directfb might build with mesa enabled if present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_ipk/deb/rpm: Ensure deploy staging directory is empty before rerunning task

If we don't do this, stale files can build up, particularly with the PR
server.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>