diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-11-06 10:50:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-06 11:02:26 +0000 |
commit | 5810d54756159f181e0e95122bfbcca451fe7665 (patch) | |
tree | 32b3df2b88eaa455bc8a796231a8863d1a0c4404 /meta/classes/clutter.bbclass | |
parent | 3e6b57fcfea93fbefd746ba056410409b35c5523 (diff) | |
download | poky-5810d54756159f181e0e95122bfbcca451fe7665.tar.gz |
extrausers.bbclass: avoid infinite loop
Avoid infinite loop if the last record in EXTRA_USRES_PARAMS doesn't
end with a semicolon.
It's possible the the users will write configurations like below.
INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "useradd tester; useradd developer"
In such situation, the do_rootfs task will enter an infinite loop.
An infinite loop is never acceptable.
This patch fixes the above problem.
(From OE-Core rev: bf4fb345a9db306fa4c7211b7e6795334a649dd5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/clutter.bbclass')
0 files changed, 0 insertions, 0 deletions