]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
useradd-staticids.bbclass: improve error message
authorMikko Rapeli <mikko.rapeli@linaro.org>
Tue, 13 Jun 2023 08:02:16 +0000 (11:02 +0300)
committerSteve Sakoman <steve@sakoman.com>
Fri, 7 Jul 2023 16:51:45 +0000 (06:51 -1000)
commitea997ec788a5397598e24301e40d1c30ffa68c04
tree9ad10b4874847316769876259ada1fa7e2724ece
parent74fed908b807056cbb10c20d62d494f3089f52ee
useradd-staticids.bbclass: improve error message

Current error message is difficult to read:

ERROR: Nothing PROVIDES 'image'
trs-image was skipped: image - image: normal username test does not have a static ID defined. Add test to one of these files

It's not clear that first "image" is recipe name, second "image" is
binary package name and that "test" is the user account which does not
have a static ID defined. Improve the error message so that these are
more explicit. Now the error message looks like:

image was skipped: Recipe image, package image: normal username "test" does not have a static ID defined.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 07898218f3908a83e07178b6530dfa48d55d4ec2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/useradd-staticids.bbclass