Re: [OE-core] [PATCH 3/6] package_rpm.bbclass: archive the source to srpm package

2014-03-14 Thread Burton, Ross
On 14 March 2014 02:14, Robert Yang wrote: > I'd like to remove the sources in the first thought, but that would > cause a problem: if we only re-run the do_package_write_rpm, for example, > when the FILES is changed, then the sources are gone, and we would get > nothing in the .src.rpm. I thing t

Re: [OE-core] [PATCH 3/6] package_rpm.bbclass: archive the source to srpm package

2014-03-13 Thread Robert Yang
On 03/14/2014 01:39 AM, Burton, Ross wrote: On 11 March 2014 17:08, Robert Yang wrote: -# Remove the source (SOURCE0, SOURCE1 ...) -cmd = cmd + " --rmsource " You probably want to keep this as otherwise deploy/sources/MACHINE/RECIPE/ contains both the .src.rpm and the separa

Re: [OE-core] [PATCH 3/6] package_rpm.bbclass: archive the source to srpm package

2014-03-13 Thread Burton, Ross
On 11 March 2014 17:08, Robert Yang wrote: > -# Remove the source (SOURCE0, SOURCE1 ...) > -cmd = cmd + " --rmsource " You probably want to keep this as otherwise deploy/sources/MACHINE/RECIPE/ contains both the .src.rpm and the separate sources. Ross --

[OE-core] [PATCH 3/6] package_rpm.bbclass: archive the source to srpm package

2014-03-11 Thread Robert Yang
The archiver.bbclass will put the sources to ARCHIVER_OUTDIR according to configuration, then the rpmbuild -bs will create the srpm. [YOCTO #4986] [YOCTO #5113] Signed-off-by: Robert Yang --- meta/classes/package_rpm.bbclass | 33 - 1 file changed, 12 insertions(