diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-12-13 16:24:48 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:22 +0000 |
commit | 280c83335a7418e280ed4b56ee4a089dba010dc3 (patch) | |
tree | 9d44bdcde37ff54115d327dab542228944e1760d | |
parent | 030f62e9c884997f8ad62507b81b20ab77026cd0 (diff) | |
download | poky-280c83335a7418e280ed4b56ee4a089dba010dc3.tar.gz |
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.
(From OE-Core rev: fa541362e2d2cc0494a86a413b7b52dfe3eee908)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/extrausers.bbclass | 2 |
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 @@ | |||
15 | 15 | ||
16 | inherit useradd_base | 16 | inherit useradd_base |
17 | 17 | ||
18 | IMAGE_INSTALL_append = " ${@['', 'base-passwd shadow'][bool(d.getVar('EXTRA_USERS_PARAMS', True))]}" | 18 | PACKAGE_INSTALL_append = " ${@['', 'base-passwd shadow'][bool(d.getVar('EXTRA_USERS_PARAMS', True))]}" |
19 | 19 | ||
20 | # Image level user / group settings | 20 | # Image level user / group settings |
21 | ROOTFS_POSTPROCESS_COMMAND_append = " set_user_group;" | 21 | ROOTFS_POSTPROCESS_COMMAND_append = " set_user_group;" |