]> code.ossystems Code Review - openembedded-core.git/commit
useradd-staticids.bbclass: Fix for Bug 6633
authorFabrice Coulon <fabrice@axis.com>
Tue, 2 Sep 2014 09:11:16 +0000 (11:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Sep 2014 12:02:14 +0000 (13:02 +0100)
commit592f0dccaf1985194f40fc019a9d33b9623df37f
tree956fad37e89372e6f3dfd0c54de047ade4d439da
parentd02cdf3ee88c7bbb93cecf094008858782deec3f
useradd-staticids.bbclass: Fix for Bug 6633

When using the useradd-staticids.bbclass under meta/classes,
this error occurs:
"<username> - <username>: Username  does not have a static uid defined."
There was a problem with the regular expression for parsing parameters,
it was sometimes returning an empty string.

I have fixed this by skipping empty strings.

(From OE-Core rev: f249ef32709069a2680b92dc5a5b4f6545d014b7)

Signed-off-by: Fabrice Coulon <fabrice@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd-staticids.bbclass