mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 13:40:04 +00:00
libauthen-radius-perl: ptest requires meta-networking to be present
Since commit [d7ea637 recipes-devtools: Move back from
meta-networking to meta-perl] applied, but freeradius
locates in meta-networking
If meta-networking not present and ptest enable, skip it
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -34,6 +34,14 @@ RDEPENDS_${PN} += "\
|
|||||||
perl-module-io-select \
|
perl-module-io-select \
|
||||||
perl-module-io-socket \
|
perl-module-io-socket \
|
||||||
"
|
"
|
||||||
RDEPENDS_${PN}-ptest += "freeradius"
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${@bb.utils.contains('PTEST_ENABLED', '1', 'freeradius', '', d)} \
|
||||||
|
"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
|
python() {
|
||||||
|
if bb.utils.contains('PTEST_ENABLED', '1', 'True', 'False', d) and \
|
||||||
|
'networking-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
|
||||||
|
raise bb.parse.SkipRecipe('ptest requires meta-networking to be present.')
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user