From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SsO2cmcgS3JhdXNl?= Date: Fri, 11 Jul 2014 20:12:41 +0200 Subject: [Buildroot] PACKAGE_USERS does not work In-Reply-To: <20140711172821.GD3739@free.fr> References: <53BFE547.70600@posteo.de> <53C0182B.5080907@mind.be> <20140711172821.GD3739@free.fr> Message-ID: <53C02919.2030205@posteo.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 07/11/2014 07:28 PM, Yann E. MORIN wrote: > Arnout, All, > > On 2014-07-11 19:00 +0200, Arnout Vandecappelle spake thusly: >> On 11/07/14 15:23, J?rg Krause wrote: >>> 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? > Yes, that's what I suspect, too; hence the reason I asked J?rg to share > the exact commands he used to do the build. OMG, you're all right! I added the packages to package/Config.in once, but after some inexperienced handling of git stash and apply they where missing now. So to answer your question: I used make upmpdcli-rebuild all. Thank you all for the help! I will prepare a patch for adding this packet soon. Best regards J?rg Krause > > Regards, > Yann E. MORIN. >