[Buildroot] PACKAGE_USERS does not work

Arnout Vandecappelle arnout at mind.be
Fri Jul 11 17:00:27 UTC 2014


On 11/07/14 15:23, Jörg Krause wrote:
> Hi Johan,
> 
> unfortunatly there is no error message. As I mentioned, I can build upmpdcli
> with success. Here is the contents of my package/upmpdcli/upmpdcli.mk:
> 
>     ################################################################################
>     #
>     # upmpdcli
>     #
>     ################################################################################
> 
>     UPMPDCLI_VERSION = 0.7.1
>     UPMPDCLI_SITE = 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 would expect that upmpdcli will be added to shadow, passwd, and group in
> output/target/etc, but it isn't. I think it has something to do with
> PACKAGES_USERS in package/pkg-generic.mk. If i rebuild avahi, I can see that
> make adds the entry of AVAHI_USERS to PACKAGES_USERS, but for my build of
> upmpdcli it doesn't. I also tried another custom package.


 Is it possible that you ran 'make upmpdcli' and don't have BR2_PACKAGE_UPMPDCLI
set?

 Regards,
 Arnout

[snip]


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F


More information about the buildroot mailing list