[Buildroot] Overriding Buildroot packages

Hajime Branko Yamasaki Vukelic branko at brankovukelic.com
Tue Nov 24 18:27:12 UTC 2015


Hi Thomas,

On Tue, Nov 24, 2015 at 4:41 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:

[SNIP]

> Are you able to give more details about which specific package you need
> to override and why? It would be useful for us to understand such use
> cases, and see if there is a different solution/option, or if the use
> case is really too specific.

I have a need to ship postgresql 9.5 beta instead of the stable 9.4.5.
Current solution is to create a postgres-95 package and modify
dependencies accordingly. Fortunately, this is currently just one
package, so it wasn't a big issue. Another package was bottle, on
which we gave up as not critical.

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).

-- 
Branko
branko at brankovukelic.com

/dev/blog: brankovukelic.com



More information about the buildroot mailing list