[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] core-image-minimal-initramfs: fix extrausers	functionality
From:       "Belal, Awais" <Awais_Belal () mentor ! com>
Date:       2016-12-28 13:21:06
Message-ID: 1482931266137.39621 () mentor ! com
[Download RAW message or body]

Please ignore the below patch. The issue was actually fixed in master at
http://cgit.openembedded.org/openembedded-core/commit/meta/classes/extrausers.bbclass?id=fa541362e2d2cc0494a86a413b7b52dfe3eee908


BR,
Awais

________________________________________
From: openembedded-core-bounces@lists.openembedded.org \
                <openembedded-core-bounces@lists.openembedded.org> on behalf of \
                Belal, Awais
Sent: Wednesday, December 28, 2016 6:01 PM
To: openembedded-core@lists.openembedded.org
Subject: [OE-core] [PATCH] core-image-minimal-initramfs: fix extrausers functionality

The extrausers functionality requires base-passwd and shadow
to be installed before it can be leveraged. Otherwise while
using the features of the class we get into build errors
like the following
ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: core-image-minimal-initramfs: \
useradd command did not succeed.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb \
b/meta/recipes-core/images/core-image-minimal-initramfs.bb index 5794a25..8186ddc \
                100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Small image capable of booting a device. The kernel \
includes \  the Minimal RAM-based Initial Root Filesystem (initramfs), which finds \
the \  first 'init' program more efficiently."

-PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install \
initramfs-live-install-efi ${VIRTUAL-RUNTIME_base-utils} udev base-passwd \
${ROOTFS_BOOTSTRAP_INSTALL}" +PACKAGE_INSTALL = "initramfs-live-boot \
initramfs-live-install initramfs-live-install-efi ${VIRTUAL-RUNTIME_base-utils} udev \
base-passwd shadow ${ROOTFS_BOOTSTRAP_INSTALL}"

 # Do not pollute the initrd image with rootfs features
 IMAGE_FEATURES = ""
--
1.9.1

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic