classes: Drop none package specific packaging variable accesses

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_rpm/deb/ipk: Error if we don't find packages when creating the package index

If for whatever reason the package directory is empty of packages, it
makes sense to error early rather than later in what become much
more obtuse errors. This adds in a sanity check to each of the packaging
backends. It also removes the duplicate createrepo call since the
core index creation function now uses this directly after the switch
to smart.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_rpm/dev/ipk/tar: Drop unused functions

The package_xxx_install functions date from a different era and are not used by
anything. In the rpm case, they're simply unimplemented, in the tar case they're
using broken whitespace and deprecated functions. We might as well clean
out the old broken unused code.

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_tar: bb.mkdirhier -> bb.utils.mkdirhier

Fix deprecated function reference.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_tar: Remove completely pointless code

Remove/simply overcomplicated code. No functionality change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_tar: Fix so it actually works

This tells us how long the code hasn't been used for :/

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