diff options
-rw-r--r-- | meta/classes/extrausers.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass index 8670a2a85a..faf57b108e 100644 --- a/meta/classes/extrausers.bbclass +++ b/meta/classes/extrausers.bbclass | |||
@@ -54,6 +54,10 @@ set_user_group () { | |||
54 | bbfatal "Invalid command in EXTRA_USERS_PARAMS: $cmd" | 54 | bbfatal "Invalid command in EXTRA_USERS_PARAMS: $cmd" |
55 | ;; | 55 | ;; |
56 | esac | 56 | esac |
57 | # Avoid infinite loop if the last parameter doesn't end with ';' | ||
58 | if [ "$setting" = "$remaining" ]; then | ||
59 | break | ||
60 | fi | ||
57 | # iterate to the next setting | 61 | # iterate to the next setting |
58 | setting=`echo $remaining | cut -d ';' -f1` | 62 | setting=`echo $remaining | cut -d ';' -f1` |
59 | remaining=`echo $remaining | cut -d ';' -f2-` | 63 | remaining=`echo $remaining | cut -d ';' -f2-` |