-
Hello,
I ran into #1046, and worked around it by removing the patch files from I generated the patch using
I have tried swapping around the line endings of the patch file to just LF, but that doesn't seem to change anything. I am using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Not sure how to get quilt to play nicely with linefeeds, but in the past I've just used |
Beta Was this translation helpful? Give feedback.
The DOS-style line endings in the UEFI code base, the multiple repos involved, and the fact that
${S}
is the top of theedk2
repo (with the other repos sitting beside, rather than below), all contribute to the patch-generation problem.git format-patch
does work best, but you may have to massage the paths a bit. For consistency, regardless of which of the component repos has the patch, I'll use$ git format-patch --src-prefix="edk2-tegra.a/edk2-nvidia/" --dst-prefix="edk2-tegra.b/edk2-nvidia/" ...
to generate the patches (with that example being for the
edk2-nvidia
repo), and then add;patchdir=..
to the entry in SRC_URI, so that the patching is applied from the top-level directory above …