]> code.ossystems Code Review - openembedded-core.git/commit
useradd.bbclass: add missing functions to preinst
authorChen Qi <Qi.Chen@windriver.com>
Fri, 16 Aug 2013 02:10:12 +0000 (10:10 +0800)
committerSaul Wold <sgw@linux.intel.com>
Tue, 20 Aug 2013 14:09:06 +0000 (07:09 -0700)
commited45f00ef76d189611cda2cb922fa7eb8f86d9cc
treef81a248dfb694b4eb4a83ff7772a6040f66d2025
parent5487373672c55d87fbe90117c802d26d99099d03
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/useradd.bbclass