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] Overriding Buildroot packages
Date: Sat, 5 Dec 2015 18:29:32 +0100	[thread overview]
Message-ID: <20151205172932.GB3666@free.fr> (raw)
In-Reply-To: <565B859B.10400@mind.be>

On 2015-11-30 00:09 +0100, Arnout Vandecappelle spake thusly:
> On 25-11-15 10:48, Hajime Branko Yamasaki Vukelic wrote:
> > On Tue, Nov 24, 2015 at 11:30 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
> > 
> > [SNIP]
> > 
> >>> Ideally, ability to override some aspect of an existing package (e.g.,
> >>> only its version, or only the source URL, or something along those
> >>> lines) would be great to have. If not, then, a mechanism to make two
> >>> packages equivalent (something like virtual packages but applicaable
> >>> to packages that are not explicitly virtual) would also work (e.g.,
> >>> `POSTGRES_95_PROVIDES = postgres`, that causes having postgres-95
> >>> selected to satisfy dependency requirement for a package that
> >>> selects/depends on postgres).
> >>
> >>  There is a fairly easy way to make it possible to override the version and
> >> dependencies, but I think it's a bit ugly. In inner-generic-package, instead of
> >> defining all the rules directly, we could add yet another level of direction and
> >> delay the definition of the rules until after BR2_EXTERNAL has been included.
> > 
> > What if a package has <pkgname>.hash file? If I simply override the
> > version, wouldn't that still break when checking the hash?
> 
>  That's right, we'd need to find a workaround of that as well.

We already have a mechanism to avoid checking hashes;

    BR_NO_CHECK_HASH_FOR += tarball-name

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.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2015-12-05 17:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24 13:43 [Buildroot] Overriding Buildroot packages Hajime Branko Yamasaki Vukelic
2015-11-24 15:41 ` Thomas Petazzoni
2015-11-24 18:27   ` Hajime Branko Yamasaki Vukelic
2015-11-24 22:30     ` Arnout Vandecappelle
2015-11-25  9:48       ` Hajime Branko Yamasaki Vukelic
2015-11-29 23:09         ` Arnout Vandecappelle
2015-12-05 17:29           ` Yann E. MORIN [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=20151205172932.GB3666@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.