extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL
PATCH 1/1 extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL
From: Jackie Huang <[email protected]>
The initramfs image recipes changed to use PACKAGE_INSTALL so they will not be affected by IMAGE_INSTALL, and will cause error when inherit extrausers:
| ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs:
core-image-minimal-initramfs: usermod command did not succeed.
So use PACKAGE_INSTALL as well in extrausers.bbclass to fix it.
Signed-off-by Jackie Huang <[email protected]>
--- meta/classes/extrausers.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/extrausers.bbclass +1 -1
@@ -15,7 +15,7 @@ inherit useradd_base -IMAGE_INSTALL_append = " ${@['', 'base-passwd shadow'][bool(d.getVar('EXTRA_USERS_PARAMS', True))]}" +PACKAGE_INSTALL_append = " ${@['', 'base-passwd shadow'][bool(d.getVar('EXTRA_USERS_PARAMS', True))]}" # Image level user / group settings ROOTFS_POSTPROCESS_COMMAND_append = " set_user_group;"
Signature · 1 line
2.8.3