All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] PACKAGE_USERS does not work
Date: Fri, 11 Jul 2014 19:26:51 +0200	[thread overview]
Message-ID: <20140711172651.GC3739@free.fr> (raw)
In-Reply-To: <53BFE547.70600@posteo.de>

J?rg, All,

On 2014-07-11 15:23 +0200, J?rg Krause spake thusly:
>   ################################################################################
>   #
>   # upmpdcli
>   #
>   ################################################################################
> 
>   UPMPDCLI_VERSION = 0.7.1
>   UPMPDCLI_SITE = [1]http://www.lesbonscomptes.com/upmpdcli/downloads
>   UPMPDCLI_LICENSE = GPLv2
>   UPMPDCLI_LICENSE_FILES = LICENSE
>   UPMPDCLI_INSTALL_STAGING = YES
>   UPMPDCLI_INSTALL_TARGET = YES
>   UPMPDCLI_AUTORECONF = YES
>   UPMPDCLI_CONF_OPT = --prefix=/usr
>   UPMPDCLI_DEPENDENCIES = host-pkgconf
>   UPMPDCLI_DEPENDENCIES += libupnp
>   UPMPDCLI_DEPENDENCIES += libmpdclient
> 
>   define UPMPDCLI_USERS
>       upmpdcli -1 upmpdcli -1 * - - -
>   endef
> 
>   define UPMPDCLI_INSTALL_INIT_SYSV
>       $(INSTALL) -m 0755 package/upmpdcli/S99upmpdcli $(TARGET_DIR)/etc/init.d/
>   endef
> 
>   $(eval $(autotools-package))

I added this package to my tree here (plus the missing Config.in, of
course), enabled upmpdcli in the menuconfig, and ran 'make'.

And I do have upmpdcli as a user in /etc/passwd:

    $ grep upm target/etc/passwd
    upmpdcli:x:1001:1001::/:/bin/false

And here is the relevant part of the log:

    printf 'toto -1 titi -1 * - - -\n       upmpdcli -1 upmpdcli -1 * - - -\n' >>
    /home/ymorin/dev/buildroot/br.config/build/rpi/minimal/output/build/_users_table.txt

The 'toto' user is a test user I added to another package, just to
check.

To be noted: users get created only when generating a filesystem.

Can you share the exact commands you used to build?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2014-07-11 17:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11  8:57 [Buildroot] PACKAGE_USERS does not work Jörg Krause
2014-07-11 11:41 ` Johan Oudinet
2014-07-11 13:23   ` Jörg Krause
2014-07-11 16:21     ` Johan Oudinet
2014-07-11 17:00     ` Arnout Vandecappelle
2014-07-11 17:28       ` Yann E. MORIN
2014-07-11 18:12         ` Jörg Krause
2014-07-11 17:26     ` Yann E. MORIN [this message]
2014-07-11 20:37     ` Yann E. MORIN
2014-07-14 10:09       ` Jörg Krause
2014-07-14 10:16         ` Yann E. MORIN

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=20140711172651.GC3739@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.