diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/useradd.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index a4b8a2d..0997b3d 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -154,7 +154,11 @@ python useradd_sysroot_sstate () { | |||
154 | bb.build.exec_func("useradd_sysroot", d) | 154 | bb.build.exec_func("useradd_sysroot", d) |
155 | elif task == "prepare_recipe_sysroot": | 155 | elif task == "prepare_recipe_sysroot": |
156 | # Used to update this recipe's own sysroot so the user/groups are available to do_install | 156 | # Used to update this recipe's own sysroot so the user/groups are available to do_install |
157 | scriptfile = d.expand("${RECIPE_SYSROOT}${bindir}/postinst-useradd-${PN}") | 157 | |
158 | # If do_populate_sysroot is triggered and we write the file here, there would be an overlapping | ||
159 | # files. See usergrouptests.UserGroupTests.test_add_task_between_p_sysroot_and_package | ||
160 | scriptfile = d.expand("${RECIPE_SYSROOT}${bindir}/postinst-useradd-${PN}-recipedebug") | ||
161 | |||
158 | bb.build.exec_func("useradd_sysroot", d) | 162 | bb.build.exec_func("useradd_sysroot", d) |
159 | elif task == "populate_sysroot": | 163 | elif task == "populate_sysroot": |
160 | # Used when installed in dependent task sysroots | 164 | # Used when installed in dependent task sysroots |