mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-05 21:24:45 +02:00
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:
parent
2a6e4883f9
commit
ade31d6d01
|
@ -7,5 +7,5 @@ IMAGE_INSTALL += " \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_image_prepend() {
|
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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user