user-with-full-skel.bbclass: Do not override existing pkg_postinst_${PN}
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
SKEL_INIT_MARKER = "force-skel-full-init"
|
||||
|
||||
# user recipe part
|
||||
pkg_postinst_${PN}() {
|
||||
pkg_postinst_${PN}_prepend() {
|
||||
if [ -n "$D" -a -n "${USERNAME}" ]; then
|
||||
touch $D/home/${USERNAME}/${SKEL_INIT_MARKER}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user