mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Need help resolving "Error: install_init was not called for package '$XPKG'!"
Date: Wed, 27 Aug 2014 09:14:26 +0200	[thread overview]
Message-ID: <CABDcavY-JO9gM2hbCpoDKcTf9fSdOnEUsTa-3foyGjzvtWDNgg@mail.gmail.com> (raw)
In-Reply-To: <CAABb0=QuTnD2XF9S0fJUkUWQZXqpB0kUWQpxJOsTigQv_agGSg@mail.gmail.com>

2014-08-27 5:44 GMT+02:00 JD Wilson <jdwilson.rfc@gmail.com>:
> 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

      reply	other threads:[~2014-08-27  7:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27  3:44 JD Wilson
2014-08-27  7:14 ` Guillermo Rodriguez Garcia [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=CABDcavY-JO9gM2hbCpoDKcTf9fSdOnEUsTa-3foyGjzvtWDNgg@mail.gmail.com \
    --to=guille.rodriguez@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox