archiver: fix srpm archiving build errors
authorKevin Strasser <kevin.strasser@linux.intel.com>
Fri, 22 Mar 2013 20:19:22 +0000 (13:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Apr 2013 16:01:13 +0000 (17:01 +0100)
commit743d725e0d53ce2ea5de45c4e75390247ccdb32d
treec0ec59b75cbc800455e3ee8cb786e4da50cdf919
parent76678ce7c7cd2c28d5b510e5bfb7741a948c8782
archiver: fix srpm archiving build errors

srpm archiving doesn't need to be handled as a different case
when deciding what archive tasks to add.

When srpm is selected as the archiving type, the scripts and logs
archive staging directory ${WORKDIR}/script-logs is cleaned, and
its contents moved out to ${WORKDIR}.

Now that we are including ${WORKDIR}/script-logs in sstate-inputdirs,
the directory must be preserved.

[YOCTO #4032]

(From OE-Core rev: 0c80286a3383b436a0a63a0b00eb357dd9dea4fb)

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/archive-configured-source.bbclass
meta/classes/archive-original-source.bbclass
meta/classes/archive-patched-source.bbclass
meta/classes/archiver.bbclass