From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XMXRB-0002l5-0q for ptxdist@pengutronix.de; Wed, 27 Aug 2014 09:14:33 +0200 Received: by mail-ob0-f181.google.com with SMTP id va2so12627291obc.40 for ; Wed, 27 Aug 2014 00:14:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 27 Aug 2014 09:14:26 +0200 Message-ID: From: Guillermo Rodriguez Garcia Subject: Re: [ptxdist] Need help resolving "Error: install_init was not called for package '$XPKG'!" Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" 2014-08-27 5:44 GMT+02:00 JD Wilson : > ptxdist group: > > I'm developing a new rule file, foo-jdw.in/.make that will install > binary and it's dependent lib into the target /usr/bin, and /usr/lib. > > Note the pkg and names have been changed to be generic > > The binary and lib are pre-built and packaged in a .tar.gz archive. > > Part of the .make is included for reference, but I'm really trying to > resolve > the install_init error. This occurs regardless of using install_copy > or install_alternative methods. > > # > ---------------------------------------------------------------------------- > # Install > # > ---------------------------------------------------------------------------- > $(STATEDIR)/foo-jdw.install: > @$(call targetinfo) > install -D $(FOO_JDW_DIR)/usr/bin/$(FOO_JDW_BIN) \ > $(FOO_JDW_PKGDIR)/usr/bin/$(FOO_JDW_BIN) > install -D $(FOO_JDW_DIR)/usr/lib/$(FOO_JDW_LIB) \ > $(FOO_JDW_PKGDIR)/usr/lib/$(FOO_JDW_LIB) > @$(call touch) > > # > ---------------------------------------------------------------------------- > # Target Install > # > ---------------------------------------------------------------------------- > $(STATEDIR)/foo-jdw.targetinstall: > @$(call targetinfo) > > @$(call install_init, foo-jdw) > @$(call install_fixup, foo-jdw,PACKAGE,foo-jdw) > @$(call install_fixup, foo-jdw,PRIORITY,optional) > @$(call install_fixup, foo-jdw,SECTION,base) > @$(call install_fixup, foo-jdw,AUTHOR,"") > @$(call install_fixup, foo-jdw,DESCRIPTION,"") > > # install binary > $(call install_copy, foo-jdw, 0, 0, 0755, -, /usr/bin/$(FOO_JDW_BIN)) > # $(call install_alternative, foo-jdw, 0, 0, 0755, /usr/bin/$(FOO_JDW_BIN)) Doesn't this need to end with: @$(call install_finish, foo-jdw) @$(call touch) ? Guillermo -- ptxdist mailing list ptxdist@pengutronix.de