]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Don't check for the existence of dvar as its never used
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 11:56:20 +0000 (12:56 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 11:56:20 +0000 (12:56 +0100)
commit13f116b1ad6a955b07d4cbaba85879913c30e1ee
tree0784e35129dc3a05e155832c5745416cff0e7351
parent6e277cb014a53aef66ae931b5142495f8a02404f
package_rpm: Don't check for the existence of dvar as its never used

If a sstate package exists for the package task but not for the rpm packaging
task, the output from the package task will be used. The directory pointed
to by dvar will not exist under this scenario.

Since the directory is never used by the packaging process remove the
check, substituting the pkgd variable which is always present and used.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/package_rpm.bbclass