summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/useradd.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index aae038f6ba..4577e56f5a 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -191,9 +191,9 @@ fakeroot python populate_packages_prepend () {
191 preinst = d.getVar('pkg_preinst_%s' % pkg, True) or d.getVar('pkg_preinst', True) 191 preinst = d.getVar('pkg_preinst_%s' % pkg, True) or d.getVar('pkg_preinst', True)
192 if not preinst: 192 if not preinst:
193 preinst = '#!/bin/sh\n' 193 preinst = '#!/bin/sh\n'
194 preinst += 'bbnote () {\n%s}\n' % d.getVar('bbnote', True) 194 preinst += 'bbnote () {\n\techo "NOTE: $*"\n}\n'
195 preinst += 'bbwarn () {\n%s}\n' % d.getVar('bbwarn', True) 195 preinst += 'bbwarn () {\n\techo "WARNING: $*"\n}\n'
196 preinst += 'bbfatal () {\n%s}\n' % d.getVar('bbfatal', True) 196 preinst += 'bbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\n'
197 preinst += 'perform_groupadd () {\n%s}\n' % d.getVar('perform_groupadd', True) 197 preinst += 'perform_groupadd () {\n%s}\n' % d.getVar('perform_groupadd', True)
198 preinst += 'perform_useradd () {\n%s}\n' % d.getVar('perform_useradd', True) 198 preinst += 'perform_useradd () {\n%s}\n' % d.getVar('perform_useradd', True)
199 preinst += 'perform_groupmems () {\n%s}\n' % d.getVar('perform_groupmems', True) 199 preinst += 'perform_groupmems () {\n%s}\n' % d.getVar('perform_groupmems', True)