The current include file that stores the known non-reproducible packages is layer dependent and that forces the user of the layers to maintain the list of the files (for example, see AB config[0]). By moving the exclude list to each layer.conf and extending the common OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES variable, the known non-reproducible packages will be automatically excluded for each layer used in the reproducibility test without any special knowledge in the test environment. NB: the empty list for meta-initramfs was just removed not moved. [0]: https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json?id=7d8933e75bdf7fb821a25617cb2dcabf1f3f8700#n322 Suggested-by: Quentin Schulz <quentin.schulz@cherry.de> Co-Developed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr> Signed-off-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com> |
||
|---|---|---|
| .. | ||
| conf | ||
| files | ||
| recipes-core | ||
| recipes-extended | ||
| recipes-perl | ||
| COPYING.MIT | ||
| README.md | ||
| SECURITY.md | ||
meta-perl
This layer provides commonly-used perl related recipes such as perl libraries in the Comprehensive Perl Archive Network.
Contents and Help
In this section the contents of the layer is listed, along with a short help for each package.
-- libdbi-perl --
The DBI is a database access module for the Perl programming language.
It defines a set of methods, variables, and conventions that provide
a consistent database interface, independent of the actual database
being used.
|<- Scope of DBI ->|
.-. .--------------. .-------------.
.-------. | |---| XYZ Driver |---| XYZ Engine |
| Perl | | | `--------------' `-------------'
| script| |A| |D| .--------------. .-------------.
| using |--|P|--|B|---|Oracle Driver |---|Oracle Engine|
| DBI | |I| |I| `--------------' `-------------'
| API | | |...
|methods| | |... Other drivers
`-------' | |...
`-'
-- libdbd-sqlite-perl --
DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire
thing in the distribution. So in order to get a fast transaction capable
RDBMS working for your perl project you simply have to install this
module, and nothing else.
usage: there is a test case to show you how it works
1) vim local.conf:
...
IMAGE_INSTALL:append = " libdbd-sqlite-perl"
PERL_DBM_TEST = "1"
...
2) build core-image-sato and boot the target
3) run "sqlite-perl-test.pl" on target. This script includes five
operations create/insert/update/delete/select to do with a table.
More information can be found in the recipe's git log.
Dependencies
This layer depends on:
URI: git://git.openembedded.org/openembedded-core branch: master
Adding the meta-perl layer to your build
In order to use this layer, you need to make the build system aware of it.
Assuming the meta-perl layer exists at the top-level of your yocto build tree, you can add it to the build system by adding the location of the meta-perl layer to bblayers.conf, along with any other layers needed. e.g.:
BBLAYERS ?= "
/path/to/oe-core/meta
/path/to/layer/meta-perl \
Maintenance
Send patches / pull requests to openembedded-devel@lists.openembedded.org with '[meta-perl]' in the subject.
When sending single patches, please using something like: git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix='meta-perl][PATCH'
Layer maintainers: Hongxu Jia hongxu.jia@windriver.com Tim "moto-timo" Orling ticotimo@gmail.com
License
All metadata is MIT licensed unless otherwise stated. Source code included in tree for individual recipes is under the LICENSE stated in each recipe (.bb file) unless otherwise stated.