[yocto] ptest-runner "No ptests found."
Nader Hariri
nader.hariri at hotmail.com
Mon Aug 20 06:36:48 PDT 2018
I ran 'bitbake -e <image>' as you have suggested. I can see from the logs that the variable IMAGE_FEATURES does get appended the value of ${EXTRA_IMAGE_FEATURES}, however I still have no -ptest packages in my image. Is there anything wrong in my logs?
# $IMAGE_FEATURES [3 operations]
# set? /home/nader/poky-docker/workdir/poky/meta/conf/distro/include/default-distrovars.inc:23
# ""
# set /home/nader/poky-docker/workdir/poky/meta/conf/documentation.conf:210
# [doc] "The primary list of features to include in an image. Configure this variable in an image recipe."
# append /home/nader/poky-docker/workdir/poky/meta/conf/bitbake.conf:806
# "${EXTRA_IMAGE_FEATURES}"
# pre-expansion value:
# " ${EXTRA_IMAGE_FEATURES}"
IMAGE_FEATURES=" ptest-pkgs"
Nader
________________________________
De : Alexander Kanavin <alex.kanavin at gmail.com>
Envoyé : lundi 20 août 2018 15:26
À : Nader Hariri
Cc : yocto at yoctoproject.org
Objet : Re: [yocto] ptest-runner "No ptests found."
2018-08-20 14:07 GMT+02:00 Nader Hariri <nader.hariri at hotmail.com>:
> So, contrary to what is stated in the ptest wiki and the yocto
> documentation, using EXTRA_IMAGE_FEATURES doesn't install ptests packages
> (from ptest-enabled recipes) in my image, and I can't figure out why ..
You can run 'bitbake -e <image>' to figure out why
EXTRA_IMAGE_FEATURES has no effect. In my tests (poky master) it seems
to work as intended:
#
# $IMAGE_FEATURES [8 operations]
# append /home/alexander/development/meta-qt5/conf/layer.conf:36
# [validitems] "qtcreator-debug"
# set? /home/alexander/development/poky/meta/conf/distro/include/default-distrovars.inc:24
# ""
# set /home/alexander/development/poky/meta/conf/documentation.conf:208
# [doc] "The primary list of features to include in an image.
Configure this variable in an image recipe."
# append /home/alexander/development/poky/meta/conf/bitbake.conf:812
# "${EXTRA_IMAGE_FEATURES}"
# set? /home/alexander/development/poky/meta/classes/image.bbclass:34
# ""
# set /home/alexander/development/poky/meta/classes/image.bbclass:35
# [type] "list"
# append /home/alexander/development/poky/meta/classes/image.bbclass:36
# [validitems] "debug-tweaks read-only-rootfs empty-root-password
allow-empty-password allow-root-login post-install-logging"
# set image.bbclass:166
[__anon_168__home_alexander_development_poky_meta_classes_image_bbclass]
# "debug-tweaks"
# pre-expansion value:
# "debug-tweaks"
IMAGE_FEATURES="debug-tweaks"
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180820/9600a68b/attachment.html>
More information about the yocto
mailing list