[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3763/8267] extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3763/8267] extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL
- Date: Sun, 17 Dec 2017 01:05:23 +0000 (UTC)
commit 280c83335a7418e280ed4b56ee4a089dba010dc3
Author: Jackie Huang <jackie huang windriver com>
Date: Tue Dec 13 16:24:48 2016 +0800
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>
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 43900f3..852810e 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;"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]