uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
20
pkgs/tools/misc/diffoscope/ignore_links.patch
Normal file
20
pkgs/tools/misc/diffoscope/ignore_links.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
diff --git a/diffoscope/comparators/directory.py b/diffoscope/comparators/directory.py
|
||||
index 5f34d62..36999a3 100644
|
||||
--- a/diffoscope/comparators/directory.py
|
||||
+++ b/diffoscope/comparators/directory.py
|
||||
@@ -77,6 +77,7 @@ else:
|
||||
FILE_RE = re.compile(r"^\s*File:.*$")
|
||||
DEVICE_RE = re.compile(r"Device: [0-9a-f]+h/[0-9]+d\s+")
|
||||
INODE_RE = re.compile(r"Inode: [0-9]+\s+")
|
||||
+ LINKS_RE = re.compile(r"Links: [0-9]+\s+")
|
||||
ACCESS_TIME_RE = re.compile(r"^Access: [0-9]{4}-[0-9]{2}-[0-9]{2}.*$")
|
||||
CHANGE_TIME_RE = re.compile(r"^Change: [0-9]{4}-[0-9]{2}-[0-9]{2}.*$")
|
||||
BIRTH_TIME_RE = re.compile(r"^\s*Birth:.*$")
|
||||
@@ -86,6 +87,7 @@ else:
|
||||
line = Stat.FILE_RE.sub("", line)
|
||||
line = Stat.DEVICE_RE.sub("", line)
|
||||
line = Stat.INODE_RE.sub("", line)
|
||||
+ line = Stat.LINKS_RE.sub("", line)
|
||||
line = Stat.ACCESS_TIME_RE.sub("", line)
|
||||
line = Stat.CHANGE_TIME_RE.sub("", line)
|
||||
line = Stat.BIRTH_TIME_RE.sub("", line)
|
||||
Loading…
Add table
Add a link
Reference in a new issue