[Buildroot] [PATCH] package/rpi-userland: update to fix no-longer applying patch

Floris Bos bos at je-eigen-domein.nl
Sun Feb 10 15:28:07 UTC 2013


On 02/10/2013 04:10 PM, Samuel Martin wrote:
> Documentation is incorrect/outdated.
>
> Github only looks at the folder name, ignores the filename, and will
> redirect you to
> https://nodeload.github.com/raspberrypi/userland/legacy.tar.gz/master
>
> [...]
>> With
>> "RPI_USERLAND_SITE=http://github.com/raspberrypi/userland/tarball/$(RPI_USERLAND_VERSION)"
>> it does work:
> [...]
>
> Fair enough.
> Care to fix/update the doc?
>
> Also, rpi-userland is not the only package fetched from github...
> So patches for all other potentially broken packages will be welcome as well.

Problem is that if they were to change their tarball URLs in the future, 
it would break all github packages again.
Wonder if it wouldn't be a better long term solution to have some kind 
of abstraction for github (and perhaps sourceforge) packages.

E.g. specify "FOO_SITE=github://foopackage" in the package's makefile, 
and add a special DOWNLOAD_GITHUB helper routine in pkg-download.mk
So we would only need to update pkg-download.mk if it were to change again.


Yours sincerely,

Floris Bos



More information about the buildroot mailing list