rpi-hwup-image.bb: Modified the warning message in do_image_prepend()

When bitbaking image rpi-hwup-image, a warning message is generated
to inform he user that the image is deprecated.  The warning message
contains a suggestion of a non-deprecated image to use instead.

Previous to this commit, core-image-minimal was the suggested alternate
image.  This was a subpar suggestion, because rpi-hwup-image packages
the kernel modules in the image, but core-image-minimal does not.  This
can lead to confusion for the user, who may not immediately realize that
their kernel modules are no longer in the image.  With this commit, the
warning message now suggests core-image-base, which packages the kernel
modules in its image.

This change was suggested by Khem Raj on the Yocto project mailing list.

Signed-off-by: Steve Pavao <stevep@korgrd.com>
This commit is contained in:
Steve Pavao 2018-08-15 18:54:03 -04:00 committed by Andrei Gherzan
parent 2a6e4883f9
commit ade31d6d01

View File

@ -7,5 +7,5 @@ IMAGE_INSTALL += " \
"
do_image_prepend() {
bb.warn("The image 'rpi-hwup-image' is deprecated, please use 'core-image-minimal' instead")
bb.warn("The image 'rpi-hwup-image' is deprecated, please use 'core-image-base' instead")
}