summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/patchelf
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-02-17 10:08:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-17 22:29:04 +0000
commitd98e5ec575f542b3afaabd96b07ae9a21e1c22f4 (patch)
tree05f620a02cb292f5a1461403996b9ebb78fdc31b /meta/recipes-devtools/patchelf
parentebb2d557bbf410d98040cdaabbddd7e3ee0a9709 (diff)
downloadopenembedded-core-d98e5ec575f542b3afaabd96b07ae9a21e1c22f4.tar.gz
openembedded-core-d98e5ec575f542b3afaabd96b07ae9a21e1c22f4.tar.bz2
openembedded-core-d98e5ec575f542b3afaabd96b07ae9a21e1c22f4.zip
useradd.bbclass: avoid do_rootfs error for debian package backend
If /etc/login.defs is treated as a configuration file, then we would meet errors at do_rootfs time telling us that useradd/groupadd cannot execute correctly. This is because the dpkg handles config file specially, the login.defs is temporarily renamed as login.defs.dpkg-new. How ubuntu deals the user/group adding problem? They do it at postinst of the package. And, the postinst script of a package would possibly do `chown' of its files or directories. The above strategy is not suitable for OE. Because we do chown in do_install and add user/group in preinst scripts of the packages. That's why we need this patch so that do_rootfs don't fail. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/patchelf')
0 files changed, 0 insertions, 0 deletions