All of lore.kernel.org
 help / color / mirror / Atom feed
* Add single user
@ 2013-10-10 22:06 Michael Davis
  2013-10-11  3:07 ` ChenQi
  2013-10-11 11:23 ` Gary Thomas
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Davis @ 2013-10-10 22:06 UTC (permalink / raw)
  To: poky@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

I am attempting to add a single user to my poky build.  I am trying to follow the useradd-example.bb layout but I cannot get bitbake to like it.  My bb file looks like so:

SUMMARY = "Add a user"
DESCRIPTION = "This recipe will add a new user"

PR = "r0"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"

S = "${WORKDIR}"

inherit useradd

USERADD_PACKAGES = "${PN}"

USERADD_PARAM_${PN} = "--disabled-password hal"


do_install () {

           chown -R hal ${D}${datadir}/hal
}

FILES_${PN} = "${datadir}/hal/*"

I have the useradd package specified as a dependency for a package group which I am installing for my image.  When I bake, it attempts do_rootfs but fails and spits out a huge log after which it simple states that it couldn't satisfy dependencies for my package group and and points the the useradd package.  Is there any obvious reason why such a simple recipe like this would not work?  Thanks

-Mike

[-- Attachment #2: Type: text/html, Size: 3640 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-11 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10 22:06 Add single user Michael Davis
2013-10-11  3:07 ` ChenQi
2013-10-11 11:23 ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.