[Buildroot] [PATCH 1/1] package/mcelog: fix legal-info
Peter Korsgaard
peter at korsgaard.com
Tue Jun 13 22:06:44 UTC 2017
>>>>> "Rahul" == Rahul Bedarkar <rahulbedarkar89 at gmail.com> writes:
> On Mon, Jun 12, 2017 at 9:45 AM, Bernd Kuhls <bernd.kuhls at t-online.de> wrote:
>>
>> README was renamed to README.md
>> https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/commit/README.md?id=2fda0091a0628480a08cbf6ebe309fcb83aeae34
> make <pkg>-legal-info should have caught that after version bump as a
> part of testing. But it looks like we don't do that usually. In past,
> we have seen such failures after version bump.
> To avoid such failures, we can add hash of license file in <pkg>.hash
> and checking that after source is downloaded. If license file changes,
> it will be noticed while build test after version bump.
> Potentially, it will also help in keeping license string of packages
> up-to-date if it gets changed. What do you think ?
Yes, this is something I have been thinking about as well (but not found
time to implement yet). +1 from here!
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list