On 07/15/2013 11:42 PM, Saul Wold wrote:


This seems to have caused a failure:

Sorry for all these troubles.

I tested this patchset with IMAGE_INSTALL_append = " useradd-example xuser-account'.
So it didn't encounter a situation where white spaces appear in /etc/passwd.

Now patch V5 has been sent out to OE.
It has been tested with IMAGE_INSTALL_append = " useradd-example pulseaudio avahi xuser-account openssh ppp-dialin dbus".

Thanks,
Chen Qi


ERROR: Function failed: useradd_sysroot (log file is located at /srv/hdd/builds/world/tmp/work/mips32-poky-linux/avahi/0.6.31-r6.1/temp/log.do_install.1523) ERROR: Logfile of failure stored in: /srv/hdd/builds/world/tmp/work/mips32-poky-linux/avahi/0.6.31-r6.1/temp/log.do_install.1523
Log data follows:
| DEBUG: SITE files ['endian-big', 'bit-32', 'mips-common', 'common-linux', 'common-glibc', 'mips-linux', 'common']
| DEBUG: Executing shell function useradd_sysroot
| Running useradd commands...
| NOTE: Performing useradd with [--root /srv/hdd/builds/world/tmp/sysroots/qemumips --system --home /var/run/avahi-daemon --no-create-home --shell /bin/false --user-group avahi] and 10 times of retry
| WARNING: user avahi already exists, not re-creating it
| NOTE: Performing useradd with [--root /srv/hdd/builds/world/tmp/sysroots/qemumips --system --home /var/run/avahi-autoipd --no-create-home --shell /bin/false --user-group -c "Avahi autoip daemon" avahi-autoipd] and 10 times of retry | /srv/hdd/builds/world/tmp/work/mips32-poky-linux/avahi/0.6.31-r6.1/temp/run.useradd_sysroot.1523: 260: local: daemon:/var/run/avahi-autoipd:/bin/false: bad variable name | ERROR: Function failed: useradd_sysroot (log file is located at /srv/hdd/builds/world/tmp/work/mips32-poky-linux/avahi/0.6.31-r6.1/temp/log.do_install.1523) ERROR: Task 6375 (/srv/hdd/poky/meta/recipes-connectivity/avahi/avahi_0.6.31.bb, do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 11354 tasks of which 8540 didn't need to be rerun and 2 failed.


Sau!


On 07/11/2013 08:10 PM, qi.c...@windriver.com wrote:
From: Chen Qi <qi.c...@windriver.com>

Changes from V3:
1. naming changes
    rename userbase.bbclass to useradd_base.bbclass
    rename usersettings.bbclass to extrausers.bbclass
    rename USER_GROUP_SETTINGS to EXTRA_USERS_PARAMS
2. Add an example in the extrauser.bbclass to show how to use this bbclass
3. Report the incorrect setting in EXTRA_USERS_PARAMS.

Note the branch has also changed from ChenQi/user_group_settings to ChenQi/extrausers.

The following changes since commit a63229917a5708de2d161aba0d67168ce0da6365:

meta-yocto-bsp: update reference board SRCREVs (2013-07-10 09:45:51 +0100)

are available in the git repository at:

   git://git.pokylinux.org/poky-contrib ChenQi/extrausers
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/extrausers

Chen Qi (3):
   useradd_base.bbclass: add a new bbclass
   useradd.bbclass: code refactor
   extrausers.bbclass: add a new bbclass

  meta/classes/extrausers.bbclass   |   61 ++++++++++
  meta/classes/useradd.bbclass      |   99 ++--------------
meta/classes/useradd_base.bbclass | 230 +++++++++++++++++++++++++++++++++++++
  3 files changed, 299 insertions(+), 91 deletions(-)
  create mode 100644 meta/classes/extrausers.bbclass
  create mode 100644 meta/classes/useradd_base.bbclass




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

Reply via email to