Re: [OE-core] [PATCH 1/1] archive.bbclass: archive work directory

2012-01-08 Thread wenzong fan
On 01/06/2012 04:46 PM, Saul Wold wrote: On 01/06/2012 12:20 AM, wenzong@windriver.com wrote: From: Wenzong Fan Some legal departments believe a complete archive of the work directory is required for certain license compliance issues. We could therefore do with a class which archives up the

Re: [OE-core] [PATCH 1/1] archive.bbclass: archive work directory

2012-01-06 Thread Phil Blundell
On Fri, 2012-01-06 at 16:20 +0800, wenzong@windriver.com wrote: > +if [[ -d ${S} && ${S} != ${WORKDIR} ]]; then > +if [[ ${S} =~ "/work-shared/gcc" ]]; then > +# Create temporary sources directory for gcc > +mkdir -p ${PF}/temp > +cp -r ${S} ${PF}

Re: [OE-core] [PATCH 1/1] archive.bbclass: archive work directory

2012-01-06 Thread Saul Wold
On 01/06/2012 12:20 AM, wenzong@windriver.com wrote: From: Wenzong Fan Some legal departments believe a complete archive of the work directory is required for certain license compliance issues. We could therefore do with a class which archives up the work directories in each build and provid

[OE-core] [PATCH 1/1] archive.bbclass: archive work directory

2012-01-06 Thread wenzong.fan
From: Wenzong Fan Some legal departments believe a complete archive of the work directory is required for certain license compliance issues. We could therefore do with a class which archives up the work directories in each build and provide them so those legal departments can be happy. Implement