From: Jackie Huang Date: Tue, 13 Dec 2016 08:24:48 +0000 (+0800) Subject: extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~23289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa541362e2d2cc0494a86a413b7b52dfe3eee908;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL 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 Signed-off-by: Ross Burton --- diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass index 43900f359d5..852810e8666 100644 --- a/meta/classes/extrausers.bbclass +++ b/meta/classes/extrausers.bbclass @@ -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;"