]> code.ossystems Code Review - openembedded-core.git/commit
archiver.bbclass: Add new mirror archiver mode
authorPaul Barker <pbarker@konsulko.com>
Tue, 7 Jan 2020 11:27:33 +0000 (11:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2020 21:11:25 +0000 (21:11 +0000)
commit2c8b31ae0ab95a8b100e8bade23f51574e273c9a
tree2e5d5d3be9be338180ad1a6b5f23d2fc3d830d6a
parent557d464de217cdf959aa275d20e7b155e4130ec7
archiver.bbclass: Add new mirror archiver mode

We define a new method of populating a source mirror using the archiver
bbclass instead of simply copying the contents of the downloads
directory. This allows the archiver features such as copyleft license
filtering and recipe type filtering to be used when preparing a source
mirror.

This new archiver mode is selected by setting `ARCHIVE_MODE[src]` to
'mirror'.

The source mirror mode can either be 'split' (default) or 'combined',
controlled by `ARCHIVER_MODE[mirror]`. Additionally, sources can be
excluded as needed by setting `ARCHIVER_MIRROR_EXCLUDE` to a list of
URI prefixes. These options are described in more detail in the new
entries in the header of archiver.bbclass.

New oeqa selftest cases are added to cover the mirror archiver mode.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/archiver.bbclass
meta/lib/oeqa/selftest/cases/archiver.py