blob: 330a31204d1c71d2bd221b91075eeb44e731cc57 [file] [log] [blame]
Andrew Geissler90fd73c2021-03-05 15:25:55 -06001When sources are included within debug information, a couple of areas of the
2qemu build are not reproducible due to either full buildpaths or timestamps.
3
4Replace the full paths with relative ones. I couldn't figure out how to get
5meson to pass relative paths but we can fix that in the script.
6
Andrew Geissler90fd73c2021-03-05 15:25:55 -06007Upstream-Status: Pending [some version of all/part of this may be accepted]
8RP 2021/3/1
9
William A. Kennington IIIac69b482021-06-02 12:28:27 -070010Index: qemu-6.0.0/scripts/decodetree.py
Andrew Geissler90fd73c2021-03-05 15:25:55 -060011===================================================================
William A. Kennington IIIac69b482021-06-02 12:28:27 -070012--- qemu-6.0.0.orig/scripts/decodetree.py
13+++ qemu-6.0.0/scripts/decodetree.py
14@@ -1304,7 +1304,7 @@ def main():
Andrew Geissler90fd73c2021-03-05 15:25:55 -060015 toppat = ExcMultiPattern(0)
16
17 for filename in args:
18- input_file = filename
Andrew Geissler90fd73c2021-03-05 15:25:55 -060019+ input_file = os.path.relpath(filename)
William A. Kennington IIIac69b482021-06-02 12:28:27 -070020 f = open(filename, 'rt', encoding='utf-8')
Andrew Geissler90fd73c2021-03-05 15:25:55 -060021 parse_file(f, toppat)
22 f.close()