Use bbnote rather than bbwarn when the user exists, otherwise we would
always get the warnings when rebuild the recipe or build with mulitlib,
everything is OK if the user exists, so it should not be a warning.

Signed-off-by: Robert Yang <[email protected]>
---
 meta/classes/useradd_base.bbclass |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/useradd_base.bbclass 
b/meta/classes/useradd_base.bbclass
index 7fe83a7..802f3a1 100644
--- a/meta/classes/useradd_base.bbclass
+++ b/meta/classes/useradd_base.bbclass
@@ -34,7 +34,7 @@ perform_groupadd () {
                         sleep $count
                done
        else
-               bbwarn "${PN}: group $groupname already exists, not re-creating 
it"
+               bbnote "${PN}: group $groupname already exists, not re-creating 
it"
        fi
 }
 
@@ -62,7 +62,7 @@ perform_useradd () {
                       sleep $count
               done
        else
-               bbwarn "${PN}: user $username already exists, not re-creating 
it"
+               bbnote "${PN}: user $username already exists, not re-creating 
it"
        fi
 }
 
-- 
1.7.9.5

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to