summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Pavao <stevep@korgrd.com>2018-08-15 18:54:03 -0400
committerAndrei Gherzan <andrei@gherzan.com>2018-09-06 12:08:15 +0100
commitbe2a6a79dd9b5f341d756c78b1bdb4448461ce07 (patch)
tree060c931d76d2753cbfb0bc113f784d07576f11d8
parenta8bb77464ab9d53a8110ea17942ae80ec371bfb2 (diff)
downloadmeta-raspberrypi-sumo-next.tar.gz
rpi-hwup-image.bb: Modified the warning message in do_image_prepend()sumo-next
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>
-rw-r--r--recipes-core/images/rpi-hwup-image.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/images/rpi-hwup-image.bb b/recipes-core/images/rpi-hwup-image.bb
index d2371ad..86e9b6d 100644
--- a/recipes-core/images/rpi-hwup-image.bb
+++ b/recipes-core/images/rpi-hwup-image.bb
@@ -7,5 +7,5 @@ IMAGE_INSTALL += " \
7 " 7 "
8 8
9do_image_prepend() { 9do_image_prepend() {
10 bb.warn("The image 'rpi-hwup-image' is deprecated, please use 'core-image-minimal' instead") 10 bb.warn("The image 'rpi-hwup-image' is deprecated, please use 'core-image-base' instead")
11} 11}