summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-12-13 16:24:48 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-16 08:30:00 +0000
commitfa541362e2d2cc0494a86a413b7b52dfe3eee908 (patch)
tree1785d741166231ab3979a8979286089f946cfb0b /meta
parentbcee8c614f28b38054f5d8c1c5251b3702cf113c (diff)
downloadopenembedded-core-fa541362e2d2cc0494a86a413b7b52dfe3eee908.tar.gz
openembedded-core-fa541362e2d2cc0494a86a413b7b52dfe3eee908.tar.bz2
openembedded-core-fa541362e2d2cc0494a86a413b7b52dfe3eee908.zip
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 <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/extrausers.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass
index 43900f359d..852810e866 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;"