All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: qingtao.cao@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH V4 0/3] Add a method for image level user/group configuration
Date: Tue, 16 Jul 2013 14:30:40 +0800	[thread overview]
Message-ID: <51E4E890.50105@windriver.com> (raw)
In-Reply-To: <51E41855.5060906@linux.intel.com>

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.Chen@windriver.com wrote:
>> From: Chen Qi <Qi.Chen@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
>>
>
>



      reply	other threads:[~2013-07-16  6:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12  3:10 [PATCH V4 0/3] Add a method for image level user/group configuration Qi.Chen
2013-07-12  3:10 ` [PATCH V4 1/3] useradd_base.bbclass: add a new bbclass Qi.Chen
2013-07-12  3:10 ` [PATCH V4 2/3] useradd.bbclass: code refactor Qi.Chen
2013-07-12  3:10 ` [PATCH V4 3/3] extrausers.bbclass: add a new bbclass Qi.Chen
2013-07-15 15:42 ` [PATCH V4 0/3] Add a method for image level user/group configuration Saul Wold
2013-07-16  6:30   ` ChenQi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E4E890.50105@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=qingtao.cao@windriver.com \
    --cc=sgw@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.