[OE-core] useradd.bbclass question
Andreas Müller
schnitzeltony at googlemail.com
Thu May 2 07:49:11 UTC 2013
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
More information about the Openembedded-core
mailing list