diff options
-rw-r--r-- | meta/classes/useradd.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index 287ef84334..20771a0ce5 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -230,6 +230,10 @@ fakeroot python populate_packages:prepend () { | |||
230 | preinst += 'perform_useradd () {\n%s}\n' % d.getVar('perform_useradd') | 230 | preinst += 'perform_useradd () {\n%s}\n' % d.getVar('perform_useradd') |
231 | preinst += 'perform_groupmems () {\n%s}\n' % d.getVar('perform_groupmems') | 231 | preinst += 'perform_groupmems () {\n%s}\n' % d.getVar('perform_groupmems') |
232 | preinst += d.getVar('useradd_preinst') | 232 | preinst += d.getVar('useradd_preinst') |
233 | # Expand out the *_PARAM variables to the package specific versions | ||
234 | for rep in ["GROUPADD_PARAM", "USERADD_PARAM", "GROUPMEMS_PARAM"]: | ||
235 | val = d.getVar(rep + ":" + pkg) or "" | ||
236 | preinst = preinst.replace("${" + rep + "}", val) | ||
233 | d.setVar('pkg_preinst:%s' % pkg, preinst) | 237 | d.setVar('pkg_preinst:%s' % pkg, preinst) |
234 | 238 | ||
235 | # RDEPENDS setup | 239 | # RDEPENDS setup |