useradd.bbclass: add missing functions to preinst
authorChen Qi <Qi.Chen@windriver.com>
Fri, 16 Aug 2013 02:10:12 +0000 (10:10 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Aug 2013 14:31:25 +0000 (15:31 +0100)
commit3b23cb823fe8facd36503e4c89e9fdf528f5220c
tree1f385d1283125de49832af6a311bf6078bd3c2cb
parent314e93df1666f90d551db5fcda313fb6e3fd2a6f
useradd.bbclass: add missing functions to preinst

The preinst scripts are calling bbnote, bbwarn and bbfatal functions,
but these functions are not written to the preinst scripts.

This patch writes these missing functions to the preinst scripts to
avoid the 'not found' errors.

(From OE-Core rev: ed45f00ef76d189611cda2cb922fa7eb8f86d9cc)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd.bbclass