]> 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>
Wed, 3 Sep 2014 10:26:15 +0000 (11:26 +0100)
commitf249ef32709069a2680b92dc5a5b4f6545d014b7
tree6624c43b9c0d18122de51eaa09a3b5d1a3cdd8a7
parent0e33d232916125ba5305ced7200cc00f8b5f7b22
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.

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