Openembedded Core Discussions
 help / color / mirror / Atom feed
* useradd.bbclass question
@ 2013-05-02  7:49 Andreas Müller
  2013-05-02 13:35 ` Mark Hatle
  0 siblings, 1 reply; 16+ messages in thread
From: Andreas Müller @ 2013-05-02  7:49 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,

on one of my build machines useradd.bbclass seem to use the UID/GID of
build host. On other machines useradd works correct.

I have the follwing in gdm:

<snip>
do_install_append() {
    ...
    chown -R gdm:gdm ${D}${localstatedir}/lib/gdm
    chmod 0750 ${D}${localstatedir}/lib/gdm
}

...

USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --no-create-home --home
${localstatedir}/lib/gdm --user-group gdm"
<snip/>

In sysroot /etc/group I see
gdm:x:990:

In sysroot /etc/group I see
gdm:!:993:990::/var/lib/gdm:

The folder in packet/image has IDs 42:42 which is taken from build host.

Any ideas what causes this - or is there something wrong with chown at
do_install?

Andreas



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

end of thread, other threads:[~2013-05-02 17:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02  7:49 useradd.bbclass question Andreas Müller
2013-05-02 13:35 ` Mark Hatle
2013-05-02 14:34   ` Paul Eggleton
2013-05-02 14:43     ` Andreas Müller
2013-05-02 14:49     ` Richard Purdie
2013-05-02 14:53       ` Paul Eggleton
2013-05-02 14:50     ` Mark Hatle
2013-05-02 14:55       ` Andreas Müller
2013-05-02 15:09         ` Mark Hatle
2013-05-02 15:18           ` Andreas Müller
2013-05-02 15:31             ` Andreas Müller
2013-05-02 15:53               ` Mark Hatle
2013-05-02 16:40                 ` Andreas Müller
2013-05-02 17:03                   ` Andreas Müller
2013-05-02 15:51             ` Mark Hatle
2013-05-02 15:06       ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox