Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Question] Downgrade package application.
@ 2016-11-09 10:04 Yu-Ting Kao
  2016-11-09 10:22 ` Thomas Petazzoni
  2016-11-09 10:54 ` Zoltan Gyarmati
  0 siblings, 2 replies; 4+ messages in thread
From: Yu-Ting Kao @ 2016-11-09 10:04 UTC (permalink / raw)
  To: buildroot

Hi,

I have a patch for new feature on a package, but it works on lower
version. How can I build lower version in buildroot ? Are there any
menuconfig I can choose ?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Question] Downgrade package application.
  2016-11-09 10:04 [Buildroot] [Question] Downgrade package application Yu-Ting Kao
@ 2016-11-09 10:22 ` Thomas Petazzoni
  2016-11-09 10:54 ` Zoltan Gyarmati
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-11-09 10:22 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 9 Nov 2016 18:04:20 +0800, Yu-Ting Kao wrote:

> I have a patch for new feature on a package, but it works on lower
> version. How can I build lower version in buildroot ? Are there any
> menuconfig I can choose ?

No. For the vast majority of the packages, we only allow building a
single version, as we can't test all combinations of all package
versions.

So if you need a lower version than the one in Buildroot:

 1/ Short-term, you can just modify the .mk file, so that it uses
    whichever version you need.

 2/ Long-term, you should really upgrade to the latest version. If this
    latest version is causing issues for you, then work with the
    upstream project to fix them. Staying on an older version is
    definitely not a good idea.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Question] Downgrade package application.
  2016-11-09 10:04 [Buildroot] [Question] Downgrade package application Yu-Ting Kao
  2016-11-09 10:22 ` Thomas Petazzoni
@ 2016-11-09 10:54 ` Zoltan Gyarmati
  2016-11-10  6:09   ` Yu-Ting Kao
  1 sibling, 1 reply; 4+ messages in thread
From: Zoltan Gyarmati @ 2016-11-09 10:54 UTC (permalink / raw)
  To: buildroot

Dear Yu-Ting Kao,

i'm not sure i full understand, but:

First try to apply your patch on the current Buildroot tree, chances are
that it will apply. If it won't apply, it's always better to try to fix
the patch against the current version than using an old one.

If it's too complicated to fix the patch, as a final resolution, you can
either:
a) download an old tarball from https://buildroot.org/downloads/
or
b) clone the Buildroot git repository and use `git checkout <old git
hash value>' to go back in time.

For both of the options the best is if you know the version the patch
was created for (for example if you know when the patch was created, you
can use a version from that time or a bit earlier)


Good luck,

Zoltan Gyarmati
https://zgyarmati.de

On 11/09/2016 11:04 AM, Yu-Ting Kao wrote:
> Hi,
>
> I have a patch for new feature on a package, but it works on lower
> version. How can I build lower version in buildroot ? Are there any
> menuconfig I can choose ?
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Question] Downgrade package application.
  2016-11-09 10:54 ` Zoltan Gyarmati
@ 2016-11-10  6:09   ` Yu-Ting Kao
  0 siblings, 0 replies; 4+ messages in thread
From: Yu-Ting Kao @ 2016-11-10  6:09 UTC (permalink / raw)
  To: buildroot

Thanks for all you help

2016-11-09 18:54 GMT+08:00 Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>:
> Dear Yu-Ting Kao,
>
> i'm not sure i full understand, but:
>
> First try to apply your patch on the current Buildroot tree, chances are
> that it will apply. If it won't apply, it's always better to try to fix
> the patch against the current version than using an old one.
>
> If it's too complicated to fix the patch, as a final resolution, you can
> either:
> a) download an old tarball from https://buildroot.org/downloads/
> or
> b) clone the Buildroot git repository and use `git checkout <old git
> hash value>' to go back in time.
>
> For both of the options the best is if you know the version the patch
> was created for (for example if you know when the patch was created, you
> can use a version from that time or a bit earlier)
>
>
> Good luck,
>
> Zoltan Gyarmati
> https://zgyarmati.de
>
> On 11/09/2016 11:04 AM, Yu-Ting Kao wrote:
>> Hi,
>>
>> I have a patch for new feature on a package, but it works on lower
>> version. How can I build lower version in buildroot ? Are there any
>> menuconfig I can choose ?
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-10  6:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-09 10:04 [Buildroot] [Question] Downgrade package application Yu-Ting Kao
2016-11-09 10:22 ` Thomas Petazzoni
2016-11-09 10:54 ` Zoltan Gyarmati
2016-11-10  6:09   ` Yu-Ting Kao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox