[Buildroot] [PATCH] apply-patches.sh: use series file to apply patches in proper order

Julien Boibessot julien.boibessot at free.fr
Tue Mar 13 13:05:40 UTC 2012


On 03/12/2012 09:57 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 18:29 Thu 08 Mar     , Samuel Martin wrote:
>> Hi Ludovic,
>>
>>> +    # If there is a series file, use it instead of using ls sort order
>>> +    # to apply patches. Skip line starting with a dash.
>>> +    if [ -e "${path}/series" ] ; then
>>> +        for i in `cat ${path}/series | grep -Ev "^#" 2>  /dev/null` ; do
>> Or simply:
>> for i in `grep -Ev "^#" ${path}/series 2>  /dev/null` ; do
> why not simply use quilt?
>
> it will simply also patch series upgrade
>
> we just have to add quilt to the host tools

+1

Regards,
Julien



More information about the buildroot mailing list