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

Samuel Martin s.martin49 at gmail.com
Thu Mar 8 17:29:47 UTC 2012


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


Regards,

Sam


More information about the buildroot mailing list