]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm/deb/ipk: Error if we don't find packages when creating the package index
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Feb 2013 08:57:17 +0000 (08:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Feb 2013 22:31:29 +0000 (22:31 +0000)
commit721ef058b37604e100021ec7a90ad2f745d83916
treefa45976e7c3653df338a701661cdeb1502bcc230
parent24cbe88429ba021d7c461e0271b67106d11d5eb2
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>
meta/classes/package_deb.bbclass
meta/classes/package_ipk.bbclass
meta/classes/package_rpm.bbclass