[Buildroot] [Bug 11931] New: Bugs in support/scripts/apply-patches.sh

bugzilla at busybox.net bugzilla at busybox.net
Tue Jun 4 08:20:13 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=11931

            Bug ID: 11931
           Summary: Bugs in support/scripts/apply-patches.sh
           Product: buildroot
           Version: 2019.02.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: escape at linux.alibaba.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Created attachment 8076
  --> https://bugs.busybox.net/attachment.cgi?id=8076&action=edit
patch to fix this bug

Code line 120 to line 128 is to check whether the patch containing "rename
from" and "rename to". But it directly use grep to find, ignoring the patch may
be a tar file or else. It can only work on patch of textfile form. Besides, if
version of patch is higher than 2.7, rejecting patches containing "rename from"
and "rename to" is unnecessary, because it can work correctly. So it should
check verison of patch first than unpack the patch to find whether it contains
"rename from"

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list