]> code.ossystems Code Review - openembedded-core.git/commit
useradd.bbclass: Unify writing of script file in useradd_sysroot_sstate()
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 15 Sep 2017 14:48:59 +0000 (16:48 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Sep 2017 10:07:24 +0000 (11:07 +0100)
commit0c4259dd3c74d81f20b87417cecb1e636365ce10
treef19def7b801ce169f41b59591fb2e5be91096a84
parent0398f84482dbe5ee99b20e2ca6b3e9984f7ccec5
useradd.bbclass: Unify writing of script file in useradd_sysroot_sstate()

There were two identical code blocks for writing the
postinst-useradd-${PN} scripts. This combines them into one.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/useradd.bbclass